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

# Read an approval's attachment

> Returns one file attached to an approval's email (name, type, size and its bytes, base64-encoded), as the app's Approvals page previews it. 404 for an attachment the approval doesn't carry, or an approval the key can't list. Every approval carries `app_url`, its page in the app, where an email shows rendered as it will be sent: end any answer about an approval with that link so the person can review it there.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/approvals/{approval_id}/attachments/{attachment_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/approvals/{approval_id}/attachments/{attachment_id}:
    get:
      tags:
        - approvals
      summary: Read an approval's attachment
      description: >-
        Returns one file attached to an approval's email (name, type, size and
        its bytes, base64-encoded), as the app's Approvals page previews it. 404
        for an attachment the approval doesn't carry, or an approval the key
        can't list. Every approval carries `app_url`, its page in the app, where
        an email shows rendered as it will be sent: end any answer about an
        approval with that link so the person can review it there.
      operationId: approvals_get_attachment
      parameters:
        - description: The approval's id, from GET /v1/approvals
          in: path
          name: approval_id
          required: true
          schema:
            type: string
        - description: The attachment's id, from GET /v1/approvals/{approval_id}
          in: path
          name: attachment_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApprovalAttachmentFile'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ApprovalAttachmentFile:
      properties:
        content_base64:
          description: The file's bytes, base64-encoded
          title: Content Base64
          type: string
        filename:
          anyOf:
            - type: string
            - type: 'null'
          title: Filename
        id:
          description: Read the file with GET /v1/approvals/{approval_id}/attachments/{id}
          title: Id
          type: string
        mime_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Mime Type
        size_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Size Bytes
      required:
        - id
        - filename
        - mime_type
        - size_bytes
        - content_base64
      title: ApprovalAttachmentFile
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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