Skip to main content
WEBHOOK
callResults
{
  "agentId": "agent.abc123",
  "agentName": "Inbound Agent",
  "callId": "call.abc123",
  "name": "Victor Wembly",
  "phoneNumber": "+15551234567",
  "phoneNumberExt": "<string>",
  "fromPhoneNumber": "<string>",
  "scheduledAt": "2023-11-07T05:31:56Z",
  "timezone": "Europe/London",
  "customInputVariables": {},
  "duration": 123,
  "callUrl": "<string>",
  "rescheduledAt": "2023-11-07T05:31:56Z",
  "callResult": {
    "summary": "<string>",
    "extractedVariables": {},
    "agentActions": [
      {
        "description": "Scheduled follow-up meeting",
        "status": "completed",
        "actionKey": "schedule_meeting",
        "completedAt": "<string>",
        "metadata": {}
      }
    ],
    "humanActions": [
      {
        "description": "Scheduled follow-up meeting",
        "status": "completed",
        "actionKey": "schedule_meeting",
        "completedAt": "<string>",
        "metadata": {}
      }
    ],
    "transcription": "<string>",
    "outcomes": [
      {
        "name": "interested",
        "reasoning": "Customer expressed interest in the product"
      }
    ],
    "followUpMeetingDetails": {
      "startTime": "2023-11-07T05:31:56Z",
      "endTime": "2023-11-07T05:31:56Z",
      "hostEmail": "[email protected]"
    }
  },
  "crmSchedulingDetails": {},
  "sequence": {
    "sequenceId": "call-sequence.xyz123"
  }
}

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
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.

Response

200

Return any 2xx status to acknowledge receipt.