Skip to main content
PATCH
/
api
/
v1
/
calls
/
{call_id}
Update Call
curl --request PATCH \
  --url https://api.voicebot.studio/api/v1/calls/{call_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "type": "<string>",
  "messages": [
    {
      "role": "<string>",
      "message": "<string>",
      "time": 123,
      "secondsFromStart": 123,
      "endTime": 123,
      "source": "<string>",
      "duration": 123
    }
  ],
  "phoneCallProvider": "<string>",
  "phoneCallTransport": "<string>",
  "status": "<string>",
  "endedReason": "<string>",
  "orgId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "endedAt": "2023-11-07T05:31:56Z",
  "analysis": {
    "summary": "<string>",
    "successEvaluation": "<string>"
  },
  "phoneCallProviderId": "<string>",
  "assistantId": "<string>",
  "phoneNumberId": "<string>",
  "customer": {},
  "transcript": "<string>",
  "recordingUrl": "<string>",
  "summary": "<string>",
  "stereoRecordingUrl": "<string>",
  "transport": {},
  "organizationId": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

call_id
string
required

Body

application/json
name
string | null

Response

Successful Response

id
string
required
type
string | null
messages
Message · object[] | null
phoneCallProvider
string | null
phoneCallTransport
string | null
status
string | null
endedReason
string | null
orgId
string | null
createdAt
string<date-time> | null
updatedAt
string<date-time> | null
startedAt
string<date-time> | null
endedAt
string<date-time> | null
analysis
object | null
phoneCallProviderId
string | null
assistantId
string | null
phoneNumberId
string | null
customer
object | null
transcript
string | null
recordingUrl
string | null
summary
string | null
stereoRecordingUrl
string | null
transport
object | null
organizationId
string | null