> 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/get-a-call-recording.md).

# Get a Call Recording

## Get a Call Recording by ID

> Returns one call recording by its ID. Returns \`401\` if the recording belongs to an account where you do not have call recording access, and \`404\` if no recording has that ID.

```json
{"openapi":"3.0.3","info":{"title":"Answering Service Care API","version":"1.0.0"},"tags":[{"name":"Get a Call Recording"}],"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":{"CallRecordingEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CallRecording"}}},"CallRecording":{"type":"object","description":"A call recording with the details the client portal shows for it. The message fields appear only when a message was taken on the call.","required":["id","call_id","unique_call_id","account_id","account_number","did_number","from","call_type","started_at","billable_minutes","ai_minutes","agent_name","recording"],"properties":{"id":{"type":"integer","description":"The recording's ID."},"call_id":{"type":"integer","description":"The call's ID."},"unique_call_id":{"type":"integer","nullable":true,"description":"The Unique Call ID shown for this call in your call report. Null when the call has no call report entry."},"account_id":{"type":"integer","description":"The account the call belongs to."},"account_number":{"type":"string","description":"The account number."},"did_number":{"type":"string","description":"Your phone number on the call."},"from":{"type":"string","description":"The calling number."},"call_type":{"type":"string","description":"`InboundCall` or `OutboundCall`."},"started_at":{"type":"string","format":"date-time","description":"When the recording started."},"billable_minutes":{"type":"number","nullable":true,"description":"Minutes for this call as your call report shows them in its Time column, rounded up per call to your billing increment. Null when the call has no call report entry."},"ai_minutes":{"type":"number","nullable":true,"description":"AI minutes for this call as your call report shows them in its AI Time column. Null when the call has no call report entry."},"agent_name":{"type":"string","nullable":true,"description":"The agent on the call, as first name and last initial. Null when no agent is recorded for the call."},"recording":{"type":"string","format":"uri","nullable":true,"description":"Time-limited link to the audio file. Request the recording again for a fresh link. Null when no audio is available."},"message_id":{"type":"integer","description":"The message taken on the call. Present only when there is one."},"message_uuid":{"type":"string","format":"uuid","description":"The message's UUID. Present only when there is a message."},"message_url":{"type":"string","format":"uri","description":"The message's page in the client portal. Present only when there is a message."}}},"ErrorSimple":{"type":"object","description":"Compact error response (used for 401/422/400).","properties":{"error":{"type":"string"}}},"ErrorDetailed":{"type":"object","description":"Verbose error response (used for invalid token / 404).","properties":{"success":{"type":"boolean"},"info":{"type":"string"},"data":{"type":"object","additionalProperties":true}}}},"responses":{"NotFoundInvalidToken":{"description":"Invalid API token or resource not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetailed"}}}}}},"paths":{"/api/v2/call-recordings/{id}":{"get":{"summary":"Get a Call Recording by ID","description":"Returns one call recording by its ID. Returns `401` if the recording belongs to an account where you do not have call recording access, and `404` if no recording has that ID.","tags":["Get a Call Recording"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallRecordingEnvelope"}}}},"401":{"description":"The token is missing or invalid, or the recording belongs to an account where you do not have call recording access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSimple"}}}},"404":{"$ref":"#/components/responses/NotFoundInvalidToken"}}}}}}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
