Skip to main content
POST
Finalize Chat Media Upload

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
Pattern: ^[0-9]{1,19}$

Body

application/json
conversation_id
string
required

The XChat conversation the upload belongs to.

media_hash_key
string
required

The media hash key returned by the initialize step.

num_parts
string
required

Total number of uploaded parts, as a numeric string.

message_id
string

Optional message identifier associated with the upload.

ttl_msec
string

Optional TTL for the media in milliseconds, as a numeric string.

Response

The request has succeeded.

data
object
errors
object[]