v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
TeXML REST Commands

Fetch multiple call resources

Returns multiple call resouces for an account. This endpoint is eventually consistent.

get/texml/Accounts/{account_sid}/Calls

Path parameters

account_sidstring required

The id of the account the resource belongs to.

Query parameters

Pageinteger

The number of the page to be displayed, zero-indexed, should be used in conjuction with PageToken.

PageSizeinteger

The number of records to be displayed on a page

PageTokenstring

Used to request the next page of results.

Tostring

Filters calls by the to number.

Fromstring

Filters calls by the from number.

Status'canceled' | 'completed' | 'failed' | 'busy' | 'no-answer'

Filters calls by status.

StartTimestring

Filters calls by their start date. Expected format is YYYY-MM-DD.

StartTime_gtstring

Filters calls by their start date (after). Expected format is YYYY-MM-DD

StartTime_ltstring

Filters calls by their start date (before). Expected format is YYYY-MM-DD

EndTimestring

Filters calls by their end date. Expected format is YYYY-MM-DD

EndTime_gtstring

Filters calls by their end date (after). Expected format is YYYY-MM-DD

EndTime_ltstring

Filters calls by their end date (before). Expected format is YYYY-MM-DD

Response

Multiple call resources.

endinteger

The number of the last element on the page, zero-indexed.

first_page_uristring

/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls.json?Page=0&PageSize=1

next_page_uristring

/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls.json?Page=1&PageSize=1&PageToken=MTY4AjgyNDkwNzIxMQ

pageinteger

Current page number, zero-indexed.

page_sizeinteger

The number of items on the page

startinteger

The number of the first element on the page, zero-indexed.

uristring

The URI of the current page.

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"
}