Skip to main content
PATCH
Set post call outcome
Updates any supplied custom outcome, numeric value, or metadata for a call belonging to the agent. Identify the call with either its call ID or a customer phone number. For a phone number, preference=last updates the most recent matching call by default; use preference=first for the earliest match. Formatting characters are removed before the phone number is validated and matched. Fields omitted from the request are left unchanged.

Authorizations

X-Authorization
string
header
required

Path Parameters

agentId
string
required

The ID of the agent

callIdOrPhone
string
required

The ID of the call or the E.164 phone number

Query Parameters

preference
enum<string>
default:last

first: first time that someone called in, last: latest call from someone

Available options:
first,
last

Body

application/json
custom_call_outcome
string

The outcome label (e.g., Sold, No Sale)

custom_call_outcome_value
number

The monetary value associated with the outcome

custom_call_metadata
object

Additional custom metadata for the call

Response

Call outcome updated successfully

success
boolean
required
call_id
string
required
agent_id
string
required
updated_fields
string[]
required
phone
string
preference
string
Last modified on August 10, 2026