Skip to main content
POST
Initialize Chat Media Upload

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
conversation_id
string
required

The XChat conversation the upload belongs to.

total_bytes
integer
required

Total size of the media upload in bytes.

Required range: x >= 0

Response

The request has succeeded.

data
object
errors
object[]