Recording
Recording
{
"id": "<string>",
"customer_id": "<string>",
"owner_type": "<string>",
"owner_id": "<string>",
"activeflow_id": "<string>",
"reference_type": "<string>",
"reference_id": "<string>",
"status": "<string>",
"format": "<string>",
"on_end_flow_id": "<string>",
"tm_start": "<string>",
"tm_end": "<string>",
"tm_create": "<string>",
"tm_update": "<string>",
"tm_delete": "<string>"
}
id(UUID): The recording’s unique identifier. Returned when creating a recording viaPOST /calls/{id}/recording_startor listing viaGET /recordings.customer_id(UUID): The customer who owns this recording. Obtained from theidfield ofGET /customers.owner_type(enum string): The type of owner for this recording. Possible values:agent(owned by a specific agent), or empty string (no specific owner).owner_id(UUID): The ID of the owner. Whenowner_typeisagent, this is an agent UUID fromGET /agents. Set to00000000-0000-0000-0000-000000000000if no owner.activeflow_id(UUID): The ID of the active flow associated with this recording. Obtained from theidfield ofGET /activeflows. Set to00000000-0000-0000-0000-000000000000if no active flow.reference_type(enum string): The type of resource being recorded. See Reference Type.reference_id(UUID): The ID of the call or conference being recorded. Obtained fromGET /callsorGET /conferences.status(enum string): The recording’s current status. See Status.format(enum string): The recording file format. See Format.on_end_flow_id(UUID): The flow to execute when the recording ends. Obtained from theidfield ofGET /flows. Set to00000000-0000-0000-0000-000000000000if no flow is assigned.tm_start(string, ISO 8601): Timestamp when the recording started capturing audio.tm_end(string, ISO 8601): Timestamp when the recording stopped capturing audio.tm_create(string, ISO 8601): Timestamp when the recording resource was created.tm_update(string, ISO 8601): Timestamp of the last update to any recording property.tm_delete(string, ISO 8601): Timestamp when the recording was deleted. Set to9999-01-01 00:00:00.000000if not deleted.
Note
AI Implementation Hint
Timestamps set to 9999-01-01 00:00:00.000000 indicate the event has not yet occurred. For example, tm_delete with this value means the recording has not been deleted. An empty tm_delete ("") in older recordings also indicates not deleted.
Reference Type
All possible values for the reference_type field:
Type |
Description |
|---|---|
call |
Recording of a single call. Audio from both parties is mixed into one channel. The |
confbridge |
Recording of a conference bridge. Audio from all participants is mixed together. The |
Status
All possible values for the status field:
Status |
Description |
|---|---|
initiating |
Preparing the recording. Audio capture is being set up. The recording file is not yet available. |
recording |
Actively capturing audio. The file is being written to storage in real-time. |
stopping |
Recording stop has been requested. Audio capture is being finalized. |
ended |
Recording is complete. The file is ready for download via |
Format
All possible values for the format field:
Format |
Description |
|---|---|
wav |
WAV format (PCM). 8 kHz sample rate, 16-bit, mono. Approximately 1 MB per minute of audio. |