Skip to main content

List all call recordings

GET 
/recordings

Returns a list of your call recordings.

Request

Query Parameters

    filter[conference_id] string

    Returns only recordings associated with a given conference

    filter[created_at][gte] string

    Returns only recordings created later than or at given ISO 8601 datetime

    filter[created_at][lte] string

    Returns only recordings created earlier than or at given ISO 8601 datetime

    filter[call_leg_id] uuid

    If present, recordings will be filtered to those with a matching call_leg_id.

    filter[call_session_id] uuid

    If present, recordings will be filtered to those with a matching call_session_id.

    filter[from] string

    If present, recordings will be filtered to those with a matching from attribute. Matching is case-sensitive

    filter[to] string

    If present, recordings will be filtered to those with a matching to attribute. Matching is case-sensitive

    filter[connection_id] string

    If present, recordings will be filtered to those with a matching connection_id attribute. Matching is case-sensitive

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

Responses

200: A response with recordings.

default: Unexpected error.

Request samples


curl -L 'https://api.telnyx.com/v2/recordings' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"data": {
"call_control_id": "v3:e-31OnvjEM7Y4wvxr3TKNk8M3QyLcGZPiUIzCGtwQtOtEjY-B0urkw",
"call_leg_id": "84a97d76-e40f-11ed-9074-02420a0daa69",
"call_session_id": "84a97d76-e40f-11ed-9074-02420a0daa69",
"channels": "dual",
"conference_id": "84a97d76-e40f-11ed-9074-02420a0daa69",
"created_at": "2018-02-02T22:25:27.521Z",
"download_urls": {
"mp3": "string",
"wav": "string"
},
"duration_millis": 60000,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_type": "recording",
"recording_started_at": "2019-01-23T18:10:02.574Z",
"recording_ended_at": "2019-01-23T18:10:02.574Z",
"source": "conference",
"status": "completed",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}