Skip to main content

Fetch a call

GET 

/texml/Accounts/:account_sid/Calls/:call_sid

Returns an individual call identified by its CallSid. This endpoint is eventually consistent.

Request

Path Parameters

    call_sid stringrequired

    The CallSid that identifies the call to update.

    account_sid stringrequired

    The id of the account the resource belongs to.

Responses

200: Call resource.

Schema

    data

    object

    account_sid string

    The id of the account the resource belongs to.

    answered_by string

    Possible values: [human, machine, not_sure]

    The value of the answering machine detection result, if this feature was enabled for the call.

    caller_name string

    Caller ID, if present.

    date_created string

    The timestamp of when the resource was created.

    date_updated string

    The timestamp of when the resource was last updated.

    direction string

    Possible values: [inbound, outbound]

    The direction of this call.

    duration string

    The duration of this call, given in seconds.

    end_time string

    The end time of this call.

    from string

    The phone number or SIP address that made this call.

    from_formatted string

    The from number formatted for display.

    price string

    The price of this call, the currency is specified in the price_unit field. Only populated when the call cost feature is enabled for the account.

    price_unit string

    The unit in which the price is given.

    sid string

    The identifier of this call.

    start_time string

    The start time of this call.

    status string

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

    The status of this call.

    to string

    The phone number or SIP address that received this call.

    to_formatted string

    The to number formatted for display.

    uri string

    The relative URI for this call.

404: Resource not found

Schema

    data

    object

    errors

    object[]

  • Array [

  • detail string
  • ]

Loading...