v53

OpenAPI 3.1.0raw.githubusercontent.com2026-08-041,1941,9384.1 MB
TeXML REST Commands

Request recording for a call

Starts recording with specified parameters for call idientified by call_sid.

post/texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json

Path parameters

account_sidstring required

The id of the account the resource belongs to.

call_sidstring required

The CallSid that identifies the call to update.

Response

Successful call recording create response

account_sidstring
call_sidstring
channels1 | 2
conference_sidstring uuid nullable
date_createdstring date-time
date_updatedstring date-time
durationstring nullable

The duration of this recording, given in seconds.

error_codestring nullable
pricestring nullable

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

price_unitstring nullable

The unit in which the price is given.

sidstring

Identifier of a resource.

source'StartCallRecordingAPI' | 'StartConferenceRecordingAPI' | 'OutboundAPI' | 'DialVerb' | 'Conference' | 'RecordVerb' | 'Trunking'

Defines how the recording was created.

start_timestring date-time
track'inbound' | 'outbound' | 'both'

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

uristring

The relative URI for this recording resource.

Example response

{
  "account_sid": "61bf923e-5e4d-4595-a110-56190ea18a1b",
  "call_sid": "v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA",
  "channels": 1,
  "conference_sid": "cd5a70f4-759b-4d5e-9c06-88c00f16f3c1",
  "date_created": "2023-08-11T19:12:11Z",
  "date_updated": "2023-08-11T19:12:11Z",
  "duration": "12",
  "price": "0.10",
  "price_unit": "USD",
  "sid": "e9cea0be-7dbd-4b98-98b1-c0089d9d43b0",
  "start_time": "2023-08-11T19:12:11Z",
  "track": "inbound",
  "uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls/v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA/Recordings/b08f0fa1-a32c-4218-b3b5-9cf78941ccac.json"
}