Skip to content

TwilioCallStatusPayload

Defined in: lib/webhook/twilio-webhook.payloads.ts:304

Body of a call StatusCallback request.

Extends the inbound-call parameters with the fields Twilio adds once a call has completed.

https://www.twilio.com/docs/voice/api/call-resource#statuscallback

Property Modifier Type Description Inherited from Defined in
AccountSid readonly string SID of the account handling the call. Starts with AC. TwilioIncomingCallPayload.AccountSid lib/webhook/twilio-webhook.payloads.ts:273
ApiVersion? readonly string Twilio API version handling the call, e.g. '2010-04-01'. TwilioIncomingCallPayload.ApiVersion lib/webhook/twilio-webhook.payloads.ts:285
CallDuration? readonly string Call duration in seconds, as a string. Present once completed. - lib/webhook/twilio-webhook.payloads.ts:306
CallerName? readonly string Caller’s name, when the number has caller-ID lookup enabled. TwilioIncomingCallPayload.CallerName lib/webhook/twilio-webhook.payloads.ts:289
CallSid readonly string Unique identifier for the call. Starts with CA. TwilioIncomingCallPayload.CallSid lib/webhook/twilio-webhook.payloads.ts:271
CallStatus readonly TwilioCallStatus - TwilioIncomingCallPayload.CallStatus lib/webhook/twilio-webhook.payloads.ts:282
CallToken? readonly string Token required to invoke a forwarded call. TwilioIncomingCallPayload.CallToken lib/webhook/twilio-webhook.payloads.ts:293
Direction readonly TwilioCallDirection - TwilioIncomingCallPayload.Direction lib/webhook/twilio-webhook.payloads.ts:283
Duration? readonly string Duration Twilio billed for, in seconds, as a string. - lib/webhook/twilio-webhook.payloads.ts:308
ForwardedFrom? readonly string Number the call was forwarded from, when the carrier supplies it. TwilioIncomingCallPayload.ForwardedFrom lib/webhook/twilio-webhook.payloads.ts:287
From readonly string Caller’s number or client identifier. Client identifiers use the client: scheme, e.g. client:charlie. May be anonymous or unknown when caller ID is withheld. TwilioIncomingCallPayload.From lib/webhook/twilio-webhook.payloads.ts:279
FromCity? readonly string - TwilioIncomingCallPayload.FromCity lib/webhook/twilio-webhook.payloads.ts:76
FromCountry? readonly string - TwilioIncomingCallPayload.FromCountry lib/webhook/twilio-webhook.payloads.ts:79
FromState? readonly string - TwilioIncomingCallPayload.FromState lib/webhook/twilio-webhook.payloads.ts:77
FromZip? readonly string - TwilioIncomingCallPayload.FromZip lib/webhook/twilio-webhook.payloads.ts:78
ParentCallSid? readonly string SID of the call that created this leg. Absent on a first leg. TwilioIncomingCallPayload.ParentCallSid lib/webhook/twilio-webhook.payloads.ts:291
RecordingDuration? readonly string Recording length in seconds, as a string. - lib/webhook/twilio-webhook.payloads.ts:318
RecordingSid? readonly string SID of the recording. Starts with RE. - lib/webhook/twilio-webhook.payloads.ts:316
RecordingUrl? readonly string URL of the recording, when the call was recorded. - lib/webhook/twilio-webhook.payloads.ts:314
SipResponseCode? readonly string SIP response code for the call’s outcome, e.g. '200'. - lib/webhook/twilio-webhook.payloads.ts:312
Timestamp? readonly string Timestamp the call started, in RFC 2822 format. - lib/webhook/twilio-webhook.payloads.ts:310
To readonly string Called number or client identifier. TwilioIncomingCallPayload.To lib/webhook/twilio-webhook.payloads.ts:281
ToCity? readonly string - TwilioIncomingCallPayload.ToCity lib/webhook/twilio-webhook.payloads.ts:80
ToCountry? readonly string - TwilioIncomingCallPayload.ToCountry lib/webhook/twilio-webhook.payloads.ts:83
ToState? readonly string - TwilioIncomingCallPayload.ToState lib/webhook/twilio-webhook.payloads.ts:81
ToZip? readonly string - TwilioIncomingCallPayload.ToZip lib/webhook/twilio-webhook.payloads.ts:82