---
title: "Post a tweet"
method: POST
path: "/twitter/create_tweet_v2"
tags: ["write"]
---

# Post a tweet

`POST /twitter/create_tweet_v2`

## Request

- Base URL: `https://api.relayxapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.relayxapi.com/twitter/create_tweet_v2`
- Auth: none declared

## Headers

- `x-api-key` string, nullable

## Request body

- CreateTweet
  - `login_cookie` string, required
  - `text` string, required
  - `reply_to` string, nullable: tweet id to reply to
  - `media_ids` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/relayxapi/apis/relayx-x-data-api.md) · [All operations](https://skmtc.dev/relayxapi/apis/relayx-x-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/relayxapi/apis/relayx-x-data-api/revisions/6c9acb520594?raw)
