Skip to navigation

Get Attachment by ID

Get a single Attachment by ID.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

attachment_idstringRequired
ID of the Attachment.

Query parameters

returninglist of stringsOptional

Comma-separated list of top-level fields to include in each returned item. Cannot overlap with omit.

omitlist of stringsOptional

Comma-separated list of top-level fields to omit from each returned item. Cannot overlap with returning.

Response

OK
__typenamestringOptional
createdAtstringOptionalformat: "datetime"
creatorobject or nullOptional
downloadUrlstring or nullOptional

A pre-signed download URL. The URL may be null if the file did not upload successfully.

idstringOptional
mimeTypestringOptional

The MIME type of the file, e.g. ‘image/jpeg’

namestringOptional
uploadStatusenumOptional
Whether the attachment uploaded successfully, failed to upload or is still uploading.
Allowed values:

Errors

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