Download an Attachment file

Retrieve the binary file associated with an Attachment. Authenticate the API request with an API key or an OAuth token with read_attachments. The API returns a 302 redirect; follow the Location header to retrieve the file bytes from storage. The redirect target may be on another host: do not forward your ServiceM8 API credentials to it. Treat the returned URL as temporary and request this endpoint again for a fresh URL when needed. The file response uses the stored file's content type, rather than the Attachment JSON metadata schema.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

UUID of an existing Attachment record.

Responses

401

Authentication credentials are missing or invalid.

403

The caller does not have permission to read this attachment.

404

The Attachment record was not found or is unavailable through the API.

429

API rate limit exceeded.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*