# Download an attachment (/zh/growsocmed/docs/api-reference/inbox/download-attachment)

Download a file the person sent (while Instagram still serves it)

GET /inbox/messages/{id}/attachments/{index}

```json
{
  "tags": [
    "Inbox"
  ],
  "summary": "Download an attachment",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    },
    {
      "schema": {
        "type": [
          "integer",
          "null"
        ],
        "minimum": 0
      },
      "required": false,
      "name": "index",
      "in": "path"
    }
  ],
  "responses": {
    "200": {
      "description": "The file"
    }
  },
  "operationId": "download-attachment",
  "description": "Download a file the person sent (while Instagram still serves it)"
}
```