Skip to main content

Fetch multiple call resources

GET 
/texml/Accounts/:account_sid/Calls

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

Request

Path Parameters

    account_sid stringrequired

    The id of the account the resource belongs to.

Query Parameters

    Page integer

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

    Example: 1
    PageSize integer

    The number of records to be displayed on a page

    Example: 10
    PageToken string

    Used to request the next page of results.

    To string

    Filters calls by the to number.

    Example: +1312345678
    From string

    Filters calls by the from number.

    Example: +1312345678
    Status string

    Possible values: [canceled, completed, failed, busy, no-answer]

    Filters calls by status.

    Example: no-answer
    StartTime string

    Filters calls by the start date. Expected format is YYYY-MM-DD. Also accepts inequality operators, e.g. StartTime>=2023-05-22.

    Example: >=2023-05-22
    EndTime string

    Filters calls by their end date. Expected format is YYYY-MM-DD. Also accepts inequality operators, e.g. EndTime>=2023-05-22.

    Example: >=2023-05-22

Responses

200: Multiple call resources.

404: Resource not found

Loading...