> ## Documentation Index
> Fetch the complete documentation index at: https://docs.growdental.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch a call recording

> Redirects (`302`) to a **short-lived signed URL** for the call's audio
recording. Requires `recordings:read`, which is PHI-gated: without a
signed BAA the request fails with `403 baa_required`.

The signed URL expires shortly after issuance — follow the redirect
immediately and do not store or share the URL. Request this endpoint
again whenever you need fresh access. The raw storage URL is never
exposed.

The `Location` header points at `GET /recordings/stream?token=…` on
the same host — see that endpoint for the redirect target's auth and
error behavior.




## OpenAPI

````yaml /openapi.yaml get /calls/{callId}/recording
openapi: 3.1.0
info:
  title: GrowDental Partner API
  version: '2026-07-04'
  summary: >-
    Programmatic access to GrowDental's voice-AI calling platform for dental
    practices.
  description: >
    The GrowDental Partner API lets platforms and practice-management systems

    integrate with GrowDental's voice-AI calling for dental practices: list the

    practices you have been granted, read call results, fetch recordings,

    trigger outbound calls, and receive signed webhook events.


    **Status: early access.** This specification is the published v1 contract.

    Where the deployed API and this document disagree during early access, the

    discrepancy is a bug — report it and we will reconcile.


    ### Access


    Access is **invite-only**. There is no self-serve signup: partner apps,

    API keys, and practice grants are issued by the GrowDental team. Contact

    [partners@growdental.ai](mailto:partners@growdental.ai) to get started.


    ### Conventions


    - All request and response bodies are JSON; property names are
    **snake_case**
      (`duration_seconds`, `next_cursor`, `enabled_events`).
    - Errors use one envelope everywhere: `{ "error": "<machine_code>",
    "message": "<human text>" }`.

    - Requests referencing practices your app has **not** been granted return
      `404` (never `403`), so practice identifiers cannot be probed.
    - `GET` endpoints never take request bodies; all filters are query
    parameters.

    - Pagination varies by resource: the calls list uses cursor pagination
      (`limit` + `cursor` in, `data` + `next_cursor` out); the call-requests
      list uses `limit` + `offset` with a `pagination` object; the practices
      list is unpaginated.
    - Every `POST` endpoint honors an `Idempotency-Key` header (24-hour replay
    window).

    - Timestamps are ISO 8601 / RFC 3339 UTC strings.


    ### Rate limits


    Per API key: **600 requests/minute** by default; bulk write endpoints

    (call-request creation) have a separate **60 requests/minute** budget.

    Limited requests receive `429 rate_limited` with a `Retry-After` header

    (seconds).


    ### PHI and the BAA gate


    Scopes that expose protected health information (`transcripts:read`,

    `recordings:read`, `intake:write`) are hard-gated in code: they return

    `403 baa_required` until a Business Associate Agreement is on file for

    your app. Webhook payloads are PHI-minimal by design (IDs, outcomes, and

    links); PHI travels only over authenticated API pulls.
  contact:
    name: GrowDental Partnerships
    email: partners@growdental.ai
    url: https://voice.growdental.ai
servers:
  - url: https://voice.growdental.ai/api/partner/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Practices
    description: Practices your partner app has been granted access to.
  - name: Calls
    description: Completed and in-flight calls for granted practices.
  - name: Recordings
    description: Short-lived, signed access to call recordings (PHI — BAA required).
  - name: Call Requests
    description: Trigger outbound voice-AI calls to one or more contacts.
  - name: Webhook Endpoints
    description: Manage the HTTPS endpoints that receive signed event deliveries.
paths:
  /calls/{callId}/recording:
    get:
      tags:
        - Recordings
      summary: Fetch a call recording
      description: |
        Redirects (`302`) to a **short-lived signed URL** for the call's audio
        recording. Requires `recordings:read`, which is PHI-gated: without a
        signed BAA the request fails with `403 baa_required`.

        The signed URL expires shortly after issuance — follow the redirect
        immediately and do not store or share the URL. Request this endpoint
        again whenever you need fresh access. The raw storage URL is never
        exposed.

        The `Location` header points at `GET /recordings/stream?token=…` on
        the same host — see that endpoint for the redirect target's auth and
        error behavior.
      operationId: getCallRecording
      parameters:
        - $ref: '#/components/parameters/CallId'
      responses:
        '302':
          description: Redirect to a short-lived signed recording URL.
          headers:
            Location:
              description: |
                Short-lived signed URL for the recording audio
                (`/api/partner/v1/recordings/stream?token=…`).
              schema:
                type: string
                format: uri
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/BaaRequired'
        '404':
          description: |
            Call not found, not in a granted practice, or no recording exists
            for this call.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
                message: Recording not found.
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    CallId:
      name: callId
      in: path
      required: true
      description: Call ID.
      schema:
        type: string
        format: uuid
  responses:
    Unauthorized:
      description: |
        Authentication failed: missing/malformed `Authorization` header
        (`missing_authorization`), unknown key (`invalid_api_key`), or a
        revoked key (`key_revoked`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missingAuthorization:
              value:
                error: missing_authorization
                message: >-
                  Missing or malformed Authorization header. Expected:
                  Authorization: Bearer gd_live_...
            invalidApiKey:
              value:
                error: invalid_api_key
                message: The provided API key is not valid.
            keyRevoked:
              value:
                error: key_revoked
                message: This API key has been revoked.
    BaaRequired:
      description: |
        This resource exposes PHI and the requesting app has no signed BAA on
        file (`baa_required`), or the key lacks the required scope
        (`insufficient_scope`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: baa_required
            message: >-
              The scope recordings:read exposes PHI and requires a signed BAA.
              Contact support to complete your BAA.
    RateLimited:
      description: Rate limit exceeded for this API key. Honor `Retry-After`.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: rate_limited
            message: Rate limit exceeded. Retry after 12 seconds.
  schemas:
    Error:
      type: object
      description: The error envelope used by every non-2xx response.
      required:
        - error
        - message
      properties:
        error:
          type: string
          description: Stable machine-readable error code.
          examples:
            - invalid_api_key
            - insufficient_scope
            - baa_required
            - not_found
            - rate_limited
        message:
          type: string
          description: >-
            Human-readable explanation. Do not parse; codes are stable, messages
            are not.
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |
        Partner API key sent as a Bearer token:

        ```
        Authorization: Bearer gd_live_...
        ```

        Keys are issued by the GrowDental team (invite-only), shown **once**
        at creation, and stored server-side only as a SHA-256 hash. Key format:
        `gd_live_` (or `gd_test_`) followed by a 43-character base62 secret
        (~256 bits of entropy). To rotate, request a new key, deploy it, then
        ask us to revoke the old one — both keys work during the overlap.

````