POST /twitter/upload_media_v2
Changed onUpload media to twitter.You must set the login_cookies.You can get the login_cookies from /twitter/user_login_v2.Price: 60 credits ($0.0006 per call). Long videos: if X is still processing the video after about 90 seconds, the response has status 'success', the media_id and processing_state ('pending' or 'in_progress'); wait about 30-60 seconds before attaching that media_id to a tweet.
Request
- Base URLhttps://api.twitterapi.io
- URLhttps://api.twitterapi.io/twitter/upload_media_v2
- AuthAPI key in header X-API-Key
Request body multipart/form-data
Response
Upload media response
Changes
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning