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

# Get Contact Attachment

Fetch a media attachment for a specific contact by its GUID.

You can optionally specify the `quality` of the attachment (best, medium, low).

### Parameters

| Name    | In    | Type   | Required | Description                            |
| ------- | ----- | ------ | -------- | -------------------------------------- |
| id      | path  | string | ✅        | The ID of the contact                  |
| guid    | path  | string | ✅        | The GUID of the attachment to fetch    |
| quality | query | string | ❌        | Attachment quality (`best` by default) |

### Responses

* **200**: Attachment fetched successfully (binary content)
* **400**: Phone line not found for attachment request
* **404**: Contact not found
* **500**: Failed to fetch attachment


## OpenAPI

````yaml get /contacts/{id}/attachments/{guid}
openapi: 3.0.3
info:
  title: Contacts API
  version: 1.0.0
  description: API for managing contacts
servers:
  - url: https://api.arnio.co/api/v1
security:
  - ApiKeyAuth: []
paths:
  /contacts/{id}/attachments/{guid}:
    get:
      tags:
        - Contacts
      summary: Get contact attachment
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the contact
        - name: guid
          in: path
          required: true
          schema:
            type: string
          description: GUID of the attachment to fetch
        - name: quality
          in: query
          required: false
          schema:
            type: string
            enum:
              - best
              - medium
              - low
            default: best
          description: Attachment quality
      responses:
        '200':
          description: Attachment fetched successfully
          content:
            application/octet-stream: {}
        '400':
          description: Phone line not found for attachment request
        '404':
          description: Contact not found
        '500':
          description: Failed to fetch attachment
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Provide your API key

````