Skip to main content

Update recording on a call

POST 

/texml/Accounts/:account_sid/Calls/:call_sid/Recordings/:recording_sid.json

Updates recording resource for particular call.

Request

Path Parameters

    account_sid stringrequired

    The id of the account the resource belongs to.

    call_sid stringrequired

    The CallSid that identifies the call to update.

    recording_sid uuidrequired

    Uniquely identifies the recording by id.

Body

Update call recording on a call.

    Status string

    Possible values: [in-progress, paused, stopped]

Responses

200: Successful call recording create response

Schema

    account_sid AccountSid
    call_sid CallControlId
    conference_sid uuidnullable
    channels TwimlRecordingChannels

    Possible values: [1, 2]

    Default value: 2

    date_created datetime-rfc2822
    date_updated datetime-rfc2822
    start_time datetime-rfc2822
    price TexmlRecordingPricenullable

    The price of this recording, the currency is specified in the price_unit field.

    price_unit TexmlPriceUnitnullable

    The unit in which the price is given.

    duration TexmlRecordingDurationnullable

    The duration of this recording, given in seconds.

    sid TexmlSid

    Identifier of a resource.

    source RecordingSource

    Possible values: [StartCallRecordingAPI, StartConferenceRecordingAPI, OutboundAPI, DialVerb, Conference, RecordVerb, Trunking]

    Defines how the recording was created.

    error_code TexmlErrorCodenullable
    track RecordingTrack

    Possible values: [inbound, outbound, both]

    The audio track to record for the call. The default is both.

    uri string

    The relative URI for this recording resource.

404: Resource not found

Schema

    data

    object

    errors

    object[]

  • Array [

  • detail string
  • ]

Loading...