Skip to main content
POST
Finalize Media upload
Complete a chunked upload after every segment has been appended. Video duration is validated here against the session’s entitlement (Premium / verified status and media_category). If processing_info is present, poll GET /2/media/upload until state is succeeded before attaching the media_id to a Post. Attaching the media to POST /2/tweets re-checks duration. See size and duration limits.

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}$

Response

The request has succeeded.

data
object
errors
object[]