Fetch multiple call resources
Changed onReturns multiple call resouces for an account. This endpoint is eventually consistent.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/texml/Accounts/{account_sid}/Calls
- Auth: HTTP bearer
Path parameters
The UUID of the Telnyx account that owns the resource, for example f5586561-8ff0-4291-a51b-c7dfe4139ff9. The account_sid path segment is kept for Twilio API compatibility, but the value is a Telnyx account UUID, not a Twilio AC... SID. It must match the account that owns the API key used to authenticate the request, otherwise the endpoint returns 404. The same value is sent as AccountSid in TeXML webhooks.
Query parameters
The number of the page to be displayed, zero-indexed, should be used in conjuction with PageToken.
The number of records to be displayed on a page
Used to request the next page of results.
Filters calls by the to number.
Filters calls by the from number.
Filters calls by status.
Filters calls by their start date. Expected format is YYYY-MM-DD.
Filters calls by their start date (after). Expected format is YYYY-MM-DD
Filters calls by their start date (before). Expected format is YYYY-MM-DD
Filters calls by their end date. Expected format is YYYY-MM-DD
Filters calls by their end date (after). Expected format is YYYY-MM-DD
Filters calls by their end date (before). Expected format is YYYY-MM-DD
Response
Multiple call resources.
Example response
{
"calls": [],
"end": 0,
"first_page_uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls.json?Page=0&PageSize=1",
"next_page_uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls.json?Page=1&PageSize=1&PageToken=MTY4AjgyNDkwNzIxMQ",
"page": 0,
"page_size": 1,
"start": 0,
"uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls.json?Page=0&PageSize=1"
}Changes
- warning
deleted the
queryrequest parameterEndTime_gt - warning
deleted the
queryrequest parameterEndTime_lt - warning
deleted the
queryrequest parameterStartTime_gt - warning
deleted the
queryrequest parameterStartTime_lt - info
added the new optional
queryrequest parameterEndTime< - info
added the new optional
queryrequest parameterEndTime> - info
added the new optional
queryrequest parameterStartTime< - info
added the new optional
queryrequest parameterStartTime>
- warning