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

# Get a call transcript

> Speaker-labelled transcript. Needs the `transcripts` scope.



## OpenAPI

````yaml /openapi.json get /v1/calls/{call_id}/transcript
openapi: 3.0.3
info:
  title: Sunnyside API
  version: '1.0'
  description: 'Read-only API for a workspace: calls, transcripts, usage and members.'
servers:
  - url: https://api.trysunnyside.com
security: []
paths:
  /v1/calls/{call_id}/transcript:
    get:
      tags:
        - Calls
      summary: Get a call transcript
      description: Speaker-labelled transcript. Needs the `transcripts` scope.
      operationId: getCallTranscript
      parameters:
        - in: path
          name: call_id
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transcript'
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing, wrong or revoked key.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InsufficientScope'
              examples:
                MissingScope:
                  value:
                    error: insufficient_scope
                    scope: transcripts
                  summary: Missing scope
          description: The key lacks the scope this endpoint needs (`insufficient_scope`).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: No such call in this workspace (also for a private note).
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            More than 120 requests a minute for this key. See the Retry-After
            header.
      security:
        - BearerAuth: []
components:
  schemas:
    Transcript:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 3c90c3cc-0d44-4b50-8888-8dd25736052a
        status:
          enum:
            - processing
            - ready
          type: string
          description: |-
            * `processing` - processing
            * `ready` - ready
          x-spec-enum-id: 48708d3aa1213b98
          example: ready
        segments:
          type: array
          items:
            $ref: '#/components/schemas/Segment'
      required:
        - id
        - segments
        - status
    Error:
      type: object
      properties:
        error:
          type: string
          description: Machine-readable error code.
          example: not_found
        message:
          type: string
          example: No such call.
      required:
        - error
    InsufficientScope:
      type: object
      properties:
        error:
          type: string
          description: Always `insufficient_scope`.
          example: insufficient_scope
        scope:
          type: string
          description: The scope the key lacks.
          example: transcripts
      required:
        - error
        - scope
    Segment:
      type: object
      properties:
        speaker:
          type: string
          example: Tom Reyes
        text:
          type: string
          example: What does pricing look like for 40 seats?
        start_ms:
          type: integer
          example: 4200
      required:
        - speaker
        - start_ms
        - text
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_<prefix>_<secret>
      description: A workspace API key from Integrations › API keys in the web app.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.