Create a file
Changed onCreates a file upload intent for a message attachment. The response returns temporary direct storage upload instructions; send the bytes to that URL, then complete the file before using its id in create-message file_ids. Replay the same request with the same Idempotency-Key and body to refresh an active upload URL.
Request
- Base URLhttps://api.ando.so/v1
- URLhttps://api.ando.so/v1/files
- Auth
- API key in header x-api-key
- or HTTP bearer
Headers
Idempotency key.
Required idempotency key for safely retrying this write.
Request body
Response
Existing file upload intent for a matching idempotency key.
Example response
{
"data": {
"created_at": "2026-05-14T08:00:00.000Z",
"file_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"updated_at": "2026-05-14T08:00:00.000Z",
"upload": {
"expires_at": "2026-05-14T08:00:00.000Z"
}
},
"file_id": "01jzn7e61x3a7v9h2r7t2m3q4p"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info