Skip to main content
PATCH
/
calls
/
{uuid}
/
tags
Update Call Tags
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": {}
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

uuid
string<uuid>
required

Body

application/json
tags
string<uuid>[]
required

Array of call tag UUIDs to assign to the call

Response

Tags Updated Successfully

success
boolean
default:true
required
call
object
required