Skip to main content
PATCH
/
phone-calls
/
{id}
/
requests
/
{requestId}
Updates a specific client request associated with a phone call.
curl --request PATCH \
  --url https://api.example.com/phone-calls/{id}/requests/{requestId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "<string>",
  "response": "<string>"
}
'
{
  "id": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "request": "<string>",
  "clientId": 123,
  "portalId": 123,
  "phoneCallId": 123,
  "phoneCallTranscriptLineId": 123,
  "status": "<string>",
  "response": "<string>",
  "respondedAt": "2023-11-07T05:31:56Z",
  "respondedByAccountId": 123,
  "respondedBy": "<string>"
}

Path Parameters

id
integer<int32>
required

The unique identifier of the phone call.

requestId
integer<int32>
required

The unique identifier of the client request to update.

Body

The patch data containing status and response updates.

status
string | null
response
string | null

Response

OK

id
integer<int32>
createdAt
string<date-time>
request
string | null
clientId
integer<int32>
portalId
integer<int32>
phoneCallId
integer<int32>
phoneCallTranscriptLineId
integer<int32> | null
status
string | null
response
string | null
respondedAt
string<date-time> | null
respondedByAccountId
integer<int32> | null
respondedBy
string | null