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 their start date. Expected format is YYYY-MM-DD.

    Example: 2023-05-22
    StartTime> string

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

    Example: 2023-05-22
    StartTime< string

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

    Example: 2023-05-22
    EndTime string

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

    Example: 2023-05-22
    EndTime> string

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

    Example: 2023-05-22
    EndTime< string

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

    Example: 2023-05-22

Responses

200: Multiple call resources.

404: Resource not found

Loading...