---
title: "Creates a new tweet on X with specified content and options."
method: POST
path: "/create"
---

# Creates a new tweet on X with specified content and options.

`POST /create`

This function allows users to post a new tweet on the X platform. It supports various options including text content, media attachments, polls, reply settings, and more. The function returns a promise that resolves to the created tweet data.

## Request body

- object
  - `body` object — Body of the create sls call
    - `arguments` unknown[], required
      - unknown
    - `auth` object — Authentication object
      - `strategy` 'apikey' — Authentication strategy
      - `variables` unknown[] — Variables for the authentication strategy
        - unknown
    - `packageName` string — @microfox/twitter

## Response `200`

Successful response

- object
  - `id` string, required — The unique identifier of the tweet
  - `text` string, required — The text content of the tweet
  - `created_at` string — The creation time of the tweet
  - `author_id` string — The ID of the author of the tweet
  - `edit_history_tweet_ids` string[] — An array of previous tweet IDs

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/microfox-ai/apis/microfox-x-sdk-api.md) · [All operations](https://skmtc.net/microfox-ai/apis/microfox-x-sdk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/microfox-ai/microfox-x-sdk-api/versions/329b4bca235b/schema)
