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. 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.

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. 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.

AuthorizationBearer <token>

In: header

Header Parameters

idempotency-key?string

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}
{  "detail": {    "property1": "string",    "property2": "string"  },  "error": {    "code": "string",    "current": 0,    "feature": "api_access",    "limit": 0,    "message": "string",    "plan": "free",    "resource": "projects",    "upgrade_to": "free"  }}