# One call — transcript, recording, outcome, cost

> GET /calls/{id}. HeyRik API parameters and documented request and response examples.

Source: https://www.heyrik.com/docs/api-reference/calls/get-calls-id-one-call-transcript-recording-outcome-cost

GET https://server.heyrik.com/api/v1/calls/{id}

## Path parameters

- id (required): Replace {id} in the request URL with the value for this resource.

## Headers

Authorization: Bearer $HEYRIK_API_KEY (required). Keep your key on your server.

## Notes

`recording_url` is null until the upload finishes — a moment after the call ends. `credits_charged` is fractional: calls bill per second.

## Request example

```sh
curl https://server.heyrik.com/api/v1/calls/call_1dd990f7 \
  -H "Authorization: Bearer $HEYRIK_API_KEY"
```

## Response example

```json
{
  "data": {
    "id": "call_1dd990f7",
    "agency_id": "agc_9f2a1c30",
    "direction": "inbound",
    "state": "ENDED",
    "caller_id": "+919392780218",
    "started_at": "2026-07-22T15:05:45.674Z",
    "ended_at": "2026-07-22T15:06:22.113Z",
    "duration_sec": 37,
    "recording_url": "https://…/recordings/call_1dd990f7.mp3",
    "transcript": [
      { "role": "assistant", "content": "Hi, thanks for calling Acme — how can I help?", "ts": "…" },
      { "role": "user", "content": "I want to check my order status.", "ts": "…" }
    ],
    "summary": "Caller asked about order AC-8842; agent confirmed dispatch.",
    "outcome": "resolved",
    "credits_charged": 2.9167
  }
}
```
