Steerd API
Attachments

Upload an attachment bound to an entity

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.

POST
/api/public/v1/attachments

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.

AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/api/public/v1/attachments"
{  "category": "contract",  "created_at": "string",  "created_by": "string",  "entity_id": "string",  "entity_type": "project",  "filename": "string",  "id": "string",  "mime": "string",  "size": 0}
{  "error": {    "code": "string",    "message": "string"  }}