Skip to main content
POST
xurl

Authorizations

Authorization
string
header
required

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

Scopes

media.write

Upload media, such as photos and videos, on your behalf.

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[]