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" }}{ "detail": { "property1": "string", "property2": "string" }, "error": { "code": "string", "current": 0, "feature": "api_access", "limit": 0, "message": "string", "plan": "free", "resource": "projects", "upgrade_to": "free" }}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. Honors `Idempotency-Key`: a retry with the same key and the same file replays the original response; the same key with a different file returns 422. Max 25 MB.