cURL
curl --request POST \ --url https://api.sumvin.com/v0/chat/attachments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "_links": {}, "url": "<string>", "filename": "<string>", "media_type": "<string>" }
JWT token from Authorization header (Bearer token)
Tenant org ID for multi-tenant auth
Optional chat session external_id (cs-*) to associate the attachment with
Attachment uploaded successfully
HAL-style hypermedia links for navigation and available actions.
Show child attributes
Public URL of the uploaded attachment
Original filename
MIME type of the attachment