---
title: "POST /twitter/upload_media_v2"
method: POST
path: "/twitter/upload_media_v2"
---

# POST /twitter/upload_media_v2

`POST /twitter/upload_media_v2`

Upload media to twitter.You must set the login_cookie.You can get the login_cookie from /twitter/user_login_v2.Trial operation price: $0.003 per call.

## Response `200`

Upload media response

- object
  - `media_id` string — The id of the uploaded media.
  - `status` string — Status of the request.success or error
  - `msg` string — Message of the request.error message

## Other responses

- `400` — Unexpected error

---

[API](https://skmtc.net/twitterapi/apis/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api.md) · [All operations](https://skmtc.net/twitterapi/apis/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twitterapi/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api/versions/1b1afaf3df76/schema)
