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": {}
}

Documentation Index

Fetch the complete documentation index at: https://documentation.uponai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Generate tokens from your profile settings at app.uponai.com.

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