Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Events.json

List events for a call

Lists all events associated with a specific call. Supply the parent AccountSid and CallSid in the required SID formats, and use the pagination parameters to control the returned page.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
AccountSidstringrequired
The account SID that owns the call. Must be a 34-character value matching the `AC` SID format.
CallSidstringrequired
The call SID whose events to retrieve. Must be a 34-character value matching the `CA` SID format.
PageSizeintegeroptional
The number of events to return per page. Must be between 1 and 1000 and defaults to 50 when omitted.
Pageintegeroptional
The zero-based page index used to maintain client pagination state.
PageTokenstringoptional
The pagination token provided by the API for retrieving a specific page.

1 status code
200Returns a paginated event response containing event objects with request and response details, page metadata, and navigation URIs.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
eventsarray<object>optional

Error handling

AccountSid must be a 34-character account SID beginning with AC, and CallSid must be a 34-character call SID beginning with CA. PageSize must be between 1 and 1000, Page must be zero or greater, and PageToken must contain an API-provided token when used.