Authorizations
Path Parameters
Body
application/json
Array of call tag UUIDs to assign to the call
curl --request PATCH \
--url https://api.prod.usesimple.ai/api/v1/calls/{uuid}/tags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}'{
"success": true,
"call": {
"id": 123,
"simple_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"record": true,
"language": "en",
"from_number": "<string>",
"to_number": "<string>",
"status": "<string>",
"transferred": true,
"direction": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"color": "<string>"
}
],
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"background_noise": "<string>",
"agent_speaks_first": true,
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123,
"created_at": "2023-11-07T05:31:56Z",
"external_identifiers": {},
"params": {},
"prompt": {
"prompt_text": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"transcripts": [
{
"text": "<string>",
"role": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"function_name": "<string>",
"arguments": {}
}
],
"recording_presigned_url": "<string>",
"call_prompt": "<string>",
"answered_by": "voicemail",
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {
"type": "string",
"properties": {}
}
}
],
"analysis_results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {},
"result": {}
}
],
"summary": {}
}
}Update the tags associated with a specific call
curl --request PATCH \
--url https://api.prod.usesimple.ai/api/v1/calls/{uuid}/tags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}'{
"success": true,
"call": {
"id": 123,
"simple_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"record": true,
"language": "en",
"from_number": "<string>",
"to_number": "<string>",
"status": "<string>",
"transferred": true,
"direction": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"color": "<string>"
}
],
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"background_noise": "<string>",
"agent_speaks_first": true,
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123,
"created_at": "2023-11-07T05:31:56Z",
"external_identifiers": {},
"params": {},
"prompt": {
"prompt_text": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"transcripts": [
{
"text": "<string>",
"role": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"function_name": "<string>",
"arguments": {}
}
],
"recording_presigned_url": "<string>",
"call_prompt": "<string>",
"answered_by": "voicemail",
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {
"type": "string",
"properties": {}
}
}
],
"analysis_results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {},
"result": {}
}
],
"summary": {}
}
}Array of call tag UUIDs to assign to the call
Was this page helpful?