- Initialize media upload: https://api.x.com/2/media/upload/initialize
POST
/2/media/upload/initialize
Request
This endpoint expects an object.
media_typestringRequired
total_bytesintegerRequired
media_categorystringRequired
Response headers
perfstring
CF-RAYstring
api-versionstring
x-served-bystring
Cache-Controlstring
origin-cf-raystring
x-access-levelstring
cf-cache-statusstring
x-frame-optionsstring
x-response-timestring
x-transaction-idstring
x-xss-protectionstring
x-rate-limit-limitstring
x-rate-limit-resetstring
content-dispositionstring
x-content-type-optionsstring
x-rate-limit-remainingstring
strict-transport-securitystring
Response
OK
dataobject