---
title: "Get Attachment by ID"
method: GET
path: "/api/v3/attachment/{attachment_id}"
tags: ["Attachment"]
---

# Get Attachment by ID

`GET /api/v3/attachment/{attachment_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com`
- URL: `https://{tenant_name}.benchling.com/api/v3/attachment/{attachment_id}`
- Auth: HTTP bearer

Get a single Attachment by ID.

## Path parameters

- `attachment_id` string, required

## Query parameters

- `returning` string[]
- `omit` string[]

## Response `200`

OK

- Attachment: A file that can be set into an attachment schema field. In the V2 API the same model is named Blob.
  - `__typename` string
  - `createdAt` string, datetime
  - `creator` PrincipalRef
    - `__typename` string
    - `id` string, api_id
  - `downloadUrl` string, nullable: A pre-signed download URL. The URL may be null if the file did not upload successfully.
  - `id` string
  - `mimeType` string: The MIME type of the file, e.g. 'image/jpeg'
  - `name` string
  - `uploadStatus` 'SUCCEEDED' | 'FAILED_VALIDATION' | 'IN_PROGRESS' | 'NOT_UPLOADED': Whether the attachment uploaded successfully, failed to upload or is still uploading.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/benchling/apis/benchling-api.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api/revisions/c9f087b98b8b?raw)
