Recording status updated

Example

{
  "id": "a0331744032712845560Jk9LzXc2VbNm",
  "at": "2025-04-07T13:31:52.845Z",
  "sid": "d4g7ks2x",
  "type": "v2.recording.updated",
  "try": 0,
  "payload": {
    "sid": "n8r3wq6y",
    "type": "call",
    "callee": "+33199001030",
    "scenario": {
      "sid": "q5t9mw2e",
      "name": "My Call Flow"
    },
    "callid": 240711945874,
    "created": "2025-04-07T13:29:41Z",
    "duration": 10,
    "caller": {
      "name": "John Doe",
      "number": "+33639983040",
      "restricted": false
    },
    "read": false,
    "status": "ready",
    "url": "https://media.callr.com/recordings/1214981-6D3A9C1E.mp3",
    "size": 161280,
    "options": {
      "ner": true,
      "pii": true,
      "feeds": "all",
      "language": "en-US",
      "sentiment": true,
      "transcription": true
    },
    "transcription": {
      "feeds": [
        {
          "ner": [
            {
              "text": "John Doe",
              "offset": 15,
              "category": "Person",
              "confidence": 0.98
            }
          ],
          "pii": [
            {
              "text": "06 39 98 30 40",
              "offset": 49,
              "category": "PhoneNumber",
              "confidence": 0.95
            }
          ],
          "data": {
            "display": "Hello, this is John Doe, you can call me back at 06 39 98 30 40.",
            "language": "en-US",
            "lexical": "hello this is john doe you can call me back at 06 39 98 30 40",
            "phrases": [
              {
                "offset": 0.4,
                "display": "Hello, this is John Doe, you can call me back at 06 39 98 30 40.",
                "confidence": 0.93,
                "words": [
                  {
                    "word": "hello",
                    "offset": 0.4,
                    "duration": 0.32
                  },
                  {
                    "word": "this",
                    "offset": 0.8,
                    "duration": 0.18
                  }
                ]
              }
            ]
          },
          "feed": "leg_a",
          "sentiment": {
            "sentiment": "neutral",
            "confidenceScores": {
              "neutral": 0.85,
              "negative": 0.03,
              "positive": 0.12
            }
          }
        }
      ],
      "version": "2.0"
    }
  }
}
Payload
string
required

Unique identifier for the event. Use this for idempotency checks.

date-time
required

Timestamp of the event

string
required
length between 8 and 8
^[a-z0-9]{8}$

Unique identifier for the webhook

const
enum
required
  • v2.billing.credit.topup = Your account has been credited with a new amount.
  • v2.billing.credit.warning = Your prepaid balance has reached its warning level.
  • v2.billing.credit.shutdown = Your prepaid balance has reached its shutdown level. Your account is suspended.
  • v2.call.inbound.started = An inbound call just started.
  • v2.call.inbound.ended = An inbound call just hung up.
  • v2.call.outbound.started = An outbound call just started.
  • v2.call.outbound.ended = An outbound call just hung up.
  • v2.number.assigned = A phone number was assigned to your account.
  • v2.number.unassigned = A phone number was unassigned from your account.
  • v2.task.updated = A task has been updated.
  • v2.audio-file.updated = An audio file has been updated.
  • v2.recording.updated = A recording has been updated.
  • v2.sms.inbound.received = An inbound SMS has been received.
  • v2.sms.outbound.updated = An outbound SMS has an updated status.
Allowed:
integer
required
0 to 10

Number of attempts made to deliver the webhook

payload
object
required

Recording

Response
2XX

OK

LoadingLoading…