Skip to main content
WEBHOOK

Authorizations

x-api-key
string
header
required

Organization API key. Get it from the 11x team or from the platform.

Body

application/json
agentId
string
Example:

"agent.abc123"

agentName
string
Example:

"Inbound Agent"

callId
string
Example:

"call.abc123"

name
string
Example:

"Victor Wembly"

phoneNumber
string
Example:

"+15551234567"

phoneNumberExt
string

Phone extension, empty string when none.

fromPhoneNumber
string

Phone number used to place the call. Empty string for web calls.

scheduledAt
string<date-time>
timezone
string

IANA timezone.

Example:

"Europe/London"

direction
enum<string>
Available options:
outbound,
inbound
customInputVariables
object

The custom input variables submitted when the contact was enrolled, echoed back verbatim. The set of keys is defined by your agent's configuration and varies per agent.

duration
integer

Call duration in seconds.

callUrl
string<uri>

Link to the call in the 11x platform.

rescheduledAt
string<date-time> | null
callResult
object
crmSchedulingDetails
object

CRM integration details, when applicable.

sequence
object

Present when the call belongs to a sequence.

promptVersionId
string

The published prompt version used for the call. Present when a prompt version was captured for the call.

Example:

"prompt-ver.abc123"

Response

200

Return any 2xx status to acknowledge receipt.