Attachments
List an entity's attachments
Authorization
apiKey AuthorizationBearer <token>
In: header
Query Parameters
entity_type*string
Value in
- "project"
- "organization"
- "employee"
- "contact"
entity_id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/api/public/v1/attachments?entity_type=project&entity_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": [ { "category": "contract", "created_at": "string", "created_by": "string", "entity_id": "string", "entity_type": "project", "filename": "string", "id": "string", "mime": "string", "size": 0 } ], "page": { "hasMore": true, "nextCursor": "string" }}{ "error": { "code": "string", "message": "string" }}Delete an assignment DELETE
Previous Page
Upload an attachment bound to an entity POST
multipart/form-data with one `file` part, `entity_type` (project|organization|employee|contact), `entity_id`, and an optional `category`. Encrypted at rest. Uploads are NOT idempotent (a retried POST creates a new attachment). Max 25 MB.