{
  "event": "telephonyCall::created",
  "data": {
    "object": "resource",
    "model": "telephonyCall",
    "id": "<string>",
    "fields": {
      "direction": "<string>",
      "status": "<string>",
      "startedAt": "<string>",
      "endedAt": "<string>",
      "answeredAt": "<string>",
      "duration": "<integer>",
      "recordingUrl": "<string>",
      "users": [
        {
          "object": "resourceRef",
          "model": "<string>",
          "id": "<string>"
        }
      ],
      "contacts": [
        {
          "object": "resourceRef",
          "model": "<string>",
          "id": "<string>"
        }
      ],
      "externalNumber": "<string>",
      "internalNumber": "<string>"
    },
    "createdAt": "2025-03-06T09:05:04.608Z",
    "updatedAt": "2025-03-06T09:15:04.608Z",
    "rawResource": null,
    "warnings": []
  }
}
// 200

Event Headers

x-conector-id
string
required

The unique identifier of the connector

x-owner-id
string
required

The unique identifier of the owner

x-idempotency-key
string
required

A unique key to ensure idempotency of the webhook request

Event Body

event
enum<string>
required

The event type : telephonyCall::created, telephonyCall::updated or telephonyCall::deleted

data
Call Resource
required

Expected Response

200 OK
{
  "event": "telephonyCall::created",
  "data": {
    "object": "resource",
    "model": "telephonyCall",
    "id": "<string>",
    "fields": {
      "direction": "<string>",
      "status": "<string>",
      "startedAt": "<string>",
      "endedAt": "<string>",
      "answeredAt": "<string>",
      "duration": "<integer>",
      "recordingUrl": "<string>",
      "users": [
        {
          "object": "resourceRef",
          "model": "<string>",
          "id": "<string>"
        }
      ],
      "contacts": [
        {
          "object": "resourceRef",
          "model": "<string>",
          "id": "<string>"
        }
      ],
      "externalNumber": "<string>",
      "internalNumber": "<string>"
    },
    "createdAt": "2025-03-06T09:05:04.608Z",
    "updatedAt": "2025-03-06T09:15:04.608Z",
    "rawResource": null,
    "warnings": []
  }
}
// 200