cURL
curl --request POST \ --url https://api.x.com/2/media/upload/{id}/append \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "media": "<string>", "segment_index": 499 } '
{ "data": { "expires_at": 123 }, "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ] }
Appends data to a Media upload request.
The access token received from the authorization server in the OAuth 2.0 flow.
The media identifier for the media to perform the append operation. The unique identifier of this Media.
"1146654567674912769"
The file to upload.
An integer value representing the media upload segment.
0 <= x <= 999
The request has succeeded.
A response from getting a media upload request status.
Show child attributes
Unix epoch time in seconds after when the upload session expires.
1