> For the complete documentation index, see [llms.txt](https://answeringservicecare.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://answeringservicecare.com/docs/api-reference/user-portal-apis/call-recordings/list-call-recordings.md).

# List Call Recordings

## List Call Recordings

> Retrieve all call recordings available to the authenticated user. Audio recordings are retained up to 31 days; CDR metadata is retained up to 3 years.

```json
{"openapi":"3.0.3","info":{"title":"Answering Service Care API","version":"1.0.0"},"tags":[{"name":"List Call Recordings"}],"servers":[{"url":"https://secure.answeringservicecare.com","description":"Answering Service Care host"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API token","description":"Answering Service Care uses bearer token authentication. Generate API tokens from your user profile under **Application Keys**."}},"schemas":{"CallRecordingListEnvelope":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CallRecording"}}}},"CallRecording":{"type":"object","description":"A call recording envelope. Audio retention and CDR retention differ:\n- `recording` (audio URL) — retained up to 31 days; URL expires after that.\n- `cdr` (call detail record) — retained up to 3 years per privacy policy.","properties":{"id":{"type":"integer"},"call_id":{"type":"integer"},"call_sid":{"type":"string"},"account_number":{"type":"string"},"did_number":{"type":"string"},"from":{"type":"string"},"agent_username":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"recording":{"type":"string","format":"uri","description":"Time-limited URL to the audio file. Valid for up to 31 days from `started_at`."},"cdr":{"$ref":"#/components/schemas/CDR"}}},"CDR":{"type":"object","description":"Call detail record (CDR) metadata. Retained for up to 3 years per privacy policy — the CDR persists after the audio recording expires.","properties":{"id":{"type":"integer"},"unique_call_id":{"type":"integer"},"start_time":{"type":"string","format":"date-time"},"call_type":{"type":"string"},"start_client":{"type":"string"},"end_client":{"type":"string"},"callerid":{"type":"string"},"number_dialed":{"type":"string"},"did":{"type":"string"},"agent_name":{"type":"string"},"agent_id":{"type":"integer"},"skill_name":{"type":"string"},"skill_id":{"type":"string"},"connection_sec":{"type":"integer"},"ivr_sec":{"type":"integer"},"wait_sec":{"type":"integer"},"talk_sec":{"type":"integer"},"hold_sec":{"type":"integer"},"transfer_sec":{"type":"integer"},"wrap_sec":{"type":"integer"},"agent_answer_time":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time"},"hang_up_time":{"type":"string","format":"date-time"},"who_hung_up":{"type":"string"},"original_call_id":{"type":"integer"},"call_created_at":{"type":"string","format":"date-time"},"is_orphaned":{"type":"boolean"},"conference_sec":{"type":"integer"},"conference_talk_sec":{"type":"integer"}}},"ErrorSimple":{"type":"object","description":"Compact error response (used for 401/422/400).","properties":{"error":{"type":"string"}}}},"responses":{"Unauthorized":{"description":"Missing or invalid bearer token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSimple"}}}}},"parameters":{"AccountId":{"name":"account_id","in":"query","description":"Filter by account ID.","required":false,"schema":{"type":"string"}},"SkillName":{"name":"skill_name","in":"query","description":"Filter by skill name.","required":false,"schema":{"type":"string"}},"FromDate":{"name":"from_date","in":"query","description":"Start of date range in `MM-DD-YYYY` format (e.g. `01-01-2025`).","required":false,"schema":{"type":"string","pattern":"^[0-1][0-9]-[0-3][0-9]-[0-9]{4}$"}},"ToDate":{"name":"to_date","in":"query","description":"End of date range in `MM-DD-YYYY` format (e.g. `01-31-2025`).","required":false,"schema":{"type":"string","pattern":"^[0-1][0-9]-[0-3][0-9]-[0-9]{4}$"}},"SampleOnly":{"name":"sample","in":"query","description":"If true, return a sampled subset of the date range instead of every recording.","required":false,"schema":{"type":"boolean","default":false}},"PageSize":{"name":"page_size","in":"query","description":"Maximum number of results per page (default 50).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}}}},"paths":{"/api/v2/call-recordings":{"get":{"summary":"List Call Recordings","description":"Retrieve all call recordings available to the authenticated user. Audio recordings are retained up to 31 days; CDR metadata is retained up to 3 years.","tags":["List Call Recordings"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRecordingListEnvelope"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}},"parameters":[{"$ref":"#/components/parameters/AccountId"},{"$ref":"#/components/parameters/SkillName"},{"$ref":"#/components/parameters/FromDate"},{"$ref":"#/components/parameters/ToDate"},{"$ref":"#/components/parameters/SampleOnly"},{"$ref":"#/components/parameters/PageSize"}]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://answeringservicecare.com/docs/api-reference/user-portal-apis/call-recordings/list-call-recordings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
