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": [
{
"secondsFromStart": 123,
"role": "<string>",
"message": "<string>",
"time": 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>"
}Update an existing 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": [
{
"secondsFromStart": 123,
"role": "<string>",
"message": "<string>",
"time": 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>"
}Successful Response
Show child attributes
Show child attributes