Skip to main content
POST
/
v0
/
chat
/
attachments
Upload Chat Attachment
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>"
}

Authorizations

Authorization
string
header
required

JWT token from Authorization header (Bearer token)

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-juno-jwt
string | null
x-sumvin-token
string | null

Query Parameters

session_id
string | null

Optional chat session external_id (cs-*) to associate the attachment with

Body

multipart/form-data
file
file
required

Response

Attachment uploaded successfully

HAL-style hypermedia links for navigation and available actions.

url
string
required

Public URL of the uploaded attachment

filename
string
required

Original filename

media_type
string
required

MIME type of the attachment