Attach Call
curl --request PUT \
--url https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id} \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}"
headers = {"authorization": "<authorization>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "cb27e5fb-b1f0-4b6f-9f10-13ac35617a87",
"triage_id": "T-1042",
"org_id": "1c5d7f1f-9f59-4d7f-a0a3-dd3a8b6e7f0e",
"number": 1042,
"title": "Agent skipped the verification step",
"description": "",
"status": "todo",
"severity": "high",
"source": "manual",
"category": "Routing",
"owner_id": null,
"assignee_id": null,
"author_id": "8e3d68e0-c2c5-49ea-b4a3-e7c9a1437f76",
"external_link": null,
"created_at": "2026-05-07T05:32:42.221Z",
"updated_at": "2026-05-07T05:32:42.671Z",
"last_activity_at": "2026-05-07T05:32:42.671Z",
"resource_count": 1,
"flag_count": 0,
"relation_count": 0,
"latest_agent_session": null,
"is_processing": false,
"has_unread_activity": true
},
"errors": null
}
Resources
Attach Call
Attach a call to an issue.
PUT
/
v1
/
triage
/
issues
/
{id}
/
calls
/
{call_id}
Attach Call
curl --request PUT \
--url https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id} \
--header 'authorization: <authorization>'import requests
url = "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}"
headers = {"authorization": "<authorization>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {authorization: '<authorization>'}};
fetch('https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}")
.header("authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bland.ai/v1/triage/issues/{id}/calls/{call_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "cb27e5fb-b1f0-4b6f-9f10-13ac35617a87",
"triage_id": "T-1042",
"org_id": "1c5d7f1f-9f59-4d7f-a0a3-dd3a8b6e7f0e",
"number": 1042,
"title": "Agent skipped the verification step",
"description": "",
"status": "todo",
"severity": "high",
"source": "manual",
"category": "Routing",
"owner_id": null,
"assignee_id": null,
"author_id": "8e3d68e0-c2c5-49ea-b4a3-e7c9a1437f76",
"external_link": null,
"created_at": "2026-05-07T05:32:42.221Z",
"updated_at": "2026-05-07T05:32:42.671Z",
"last_activity_at": "2026-05-07T05:32:42.671Z",
"resource_count": 1,
"flag_count": 0,
"relation_count": 0,
"latest_agent_session": null,
"is_processing": false,
"has_unread_activity": true
},
"errors": null
}
Overview
Convenience over Attach Resource for when you already have thecall_id. Idempotent. Returns the full updated issue with resource_count incremented.
Headers
Your API key for authentication.
Path Parameters
Internal UUID of the issue.
Response
The updated issue. See Create Issue for the full field list.
null on success. Returns 404 if the issue or the call cannot be found in your org.{
"data": {
"id": "cb27e5fb-b1f0-4b6f-9f10-13ac35617a87",
"triage_id": "T-1042",
"org_id": "1c5d7f1f-9f59-4d7f-a0a3-dd3a8b6e7f0e",
"number": 1042,
"title": "Agent skipped the verification step",
"description": "",
"status": "todo",
"severity": "high",
"source": "manual",
"category": "Routing",
"owner_id": null,
"assignee_id": null,
"author_id": "8e3d68e0-c2c5-49ea-b4a3-e7c9a1437f76",
"external_link": null,
"created_at": "2026-05-07T05:32:42.221Z",
"updated_at": "2026-05-07T05:32:42.671Z",
"last_activity_at": "2026-05-07T05:32:42.671Z",
"resource_count": 1,
"flag_count": 0,
"relation_count": 0,
"latest_agent_session": null,
"is_processing": false,
"has_unread_activity": true
},
"errors": null
}
Docs for agents: llms.txt
Was this page helpful?
⌘I