Skip to main content
PATCH
/
api
/
calls
/
{callId}
Update call
curl --request PATCH \
  --url https://api.upon-ai.com/api/calls/{callId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": 123,
  "metadata": {},
  "optOutSensitiveDataStorage": true
}
'
{
  "callId": "<string>",
  "callType": "<string>",
  "status": "<string>",
  "agentId": "<string>",
  "agentVersion": 123,
  "metadata": {},
  "optOutSensitiveDataStorage": true,
  "accessToken": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "webCallUrl": "<string>",
  "uponai_dynamic_variables": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

callId
string
required

Call identifier or SID.

Body

application/json
workspaceId
integer
required
metadata
object
optOutSensitiveDataStorage
boolean

Response

200 - application/json

Updated call record.

callId
string
callType
string
status
string
agentId
string
agentVersion
integer
metadata
object
optOutSensitiveDataStorage
boolean
accessToken
string | null
expiresAt
string<date-time> | null
webCallUrl
string<uri> | null
uponai_dynamic_variables
object