Skip to main content
GET
Get an attachment

Authorizations

Authorization
string
header
required

A project token (apsio_pt_v0...), which reads exactly one project, or an OAuth access token issued for the API, which reads what its user can. Access tokens issued for Apsio's MCP server are accepted only from the MCP server itself.

Path Parameters

projectId
string
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"0192f3a4-0000-7000-8000-00000000a101"

attachmentId
string
required
Pattern: ^[A-Za-z0-9_-]{16,64}$
Example:

"01J9ZQ3W1V8M6K2T4R7N5C0B3D"

Query Parameters

app_id
string

The app that uploaded it (attachment ids are unique per app).

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Response

The attachment, gzip-encoded JSON.

{key}
any