twexapi-io Tweet Actions Endpoints API

The Tweet Actions Endpoints API from twexapi-io — 7 operation(s) for tweet actions endpoints.

Operations 10

POST /twitter/tweets/{tweet_id}/like Like a Tweet #
DELETE /twitter/tweets/{tweet_id}/like Unlike a Tweet #
POST /twitter/tweets/{tweet_id}/retweet Retweet a Tweet #
DELETE /twitter/tweets/{tweet_id}/retweet Delete Retweet #
POST /v3/twitter/tweets/create-thread Create a Tweet Thread #
POST /twitter/tweets/create Create a Tweet or Reply #
POST /twitter/tweets/quote Create a Quote Tweet #
POST /twitter/tweets/{tweet_id}/bookmark Bookmark a Tweet #
DELETE /twitter/tweets/{tweet_id}/bookmark Delete Bookmark #
POST /twitter/tweets/delete-batch Delete One or More Tweets #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/twexapi-io:twexapi-io-tweet-actions-endpoints-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

twexapi-io-tweet-actions-endpoints-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TwexAPI REST Tweet Actions Endpoints API
  description: 'TwexAPI exposes a REST API at `https://api.twexapi.io` for X/Twitter search, profiles, followers, posting, DMs, and agent integrations.


    **Capabilities include:**


    * **Search** — Advanced search, hashtags, cashtags

    * **Tweets** — Post, like, retweet, quote, bookmark, delete

    * **Users** — Batch user information retrieval

    * **Influencers** — Get tweets from top influencers


    All endpoints return a consistent envelope with `code`, `msg`, and `data` fields. See Error Handling for status codes and recovery.


    ## Authentication


    Send your API key on every request:


    ```txt

    Authorization: Bearer YOUR_API_KEY

    ```


    Write actions also require a Twitter cookie or `auth_token`. See Authentication for setup examples.'
  contact:
    name: TwexAPI Support
    email: support@twexapi.io
  license:
    name: MIT
  version: 1.0.0
servers:
- url: https://api.twexapi.io
  description: Development server
tags:
- name: Tweet Actions Endpoints
paths:
  /twitter/tweets/{tweet_id}/like:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Like a Tweet
      description: Likes a specific tweet on behalf of the user associated with the provided cookie,$0.0005 per call.
      operationId: like_tweet_endpoint_twitter_tweets__tweet_id__like_post
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The numeric ID of the tweet to like.
          title: Tweet Id
        description: The numeric ID of the tweet to like.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LikeActionBody'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Tweet Actions Endpoints
      summary: Unlike a Tweet
      description: Unlike a tweet, $0.0005 per call.
      operationId: unfavorite_tweet_api_endpoint_twitter_tweets__tweet_id__like_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the tweet to delete.
          title: Tweet Id
        description: The ID of the tweet to delete.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnfavoriteTweetQuery'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /twitter/tweets/{tweet_id}/retweet:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Retweet a Tweet
      description: Retweets a specific tweet on behalf of the user associated with the provided cookie,$0.0005 per call.
      operationId: retweet_tweet_endpoint_twitter_tweets__tweet_id__retweet_post
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the tweet to retweet.
          title: Tweet Id
        description: The ID of the tweet to retweet.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RetweetActionBody'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Tweet Actions Endpoints
      summary: Delete Retweet
      description: Delete a retweet, $0.0005 per call.
      operationId: delete_retweet_api_endpoint_twitter_tweets__tweet_id__retweet_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the tweet to delete.
          title: Tweet Id
        description: The ID of the tweet to delete.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteRetweetQuery'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v3/twitter/tweets/create-thread:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Create a Tweet Thread
      description: Create a tweet thread from an ordered list of texts, $0.0005 per call.
      operationId: create_tweet_thread_api_v3_twitter_tweets_create_thread_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateThreadQuery'
        required: true
      responses:
        '200':
          description: Created tweet ids in thread order.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateThreadResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /twitter/tweets/create:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Create a Tweet or Reply
      description: Posts a new tweet. To create a reply, provide the `reply_tweet_id`. This endpoint does not handle quote tweets,$0.0005 per call.
      operationId: create_tweet_twitter_tweets_create_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTweetQuery'
        required: true
      responses:
        '200':
          description: The ID and user ID of the newly created tweet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTweetResponse'
        '409':
          description: A request with the same Idempotency-Key is still running. Retry later with the same key.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          minLength: 1
          maxLength: 255
        example: 8f14e45f-ceea-467f-a8d1-1f0b4c2a9e01
        description: 'Optional. A unique value for each post (1–255 visible ASCII characters, such as a UUID). Retrying with the same key and body within 24 hours returns the first successful response with the header Idempotent-Replayed: true instead of posting again, and is not charged. The same key with a different body returns 422.'
  /twitter/tweets/quote:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Create a Quote Tweet
      description: Posts a new tweet that quotes an existing tweet. Requires the URL of the tweet to be quoted and the new content,$0.0005 per call.
      operationId: quote_tweets_twitter_tweets_quote_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteTweetQuery'
        required: true
      responses:
        '200':
          description: The ID and user ID of the newly created quote tweet.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTweetResponse'
        '409':
          description: A request with the same Idempotency-Key is still running. Retry later with the same key.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          minLength: 1
          maxLength: 255
        example: 8f14e45f-ceea-467f-a8d1-1f0b4c2a9e01
        description: 'Optional. A unique value for each post (1–255 visible ASCII characters, such as a UUID). Retrying with the same key and body within 24 hours returns the first successful response with the header Idempotent-Replayed: true instead of posting again, and is not charged. The same key with a different body returns 422.'
  /twitter/tweets/{tweet_id}/bookmark:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Bookmark a Tweet
      description: Adds a specific tweet to the bookmarks of the user associated with the provided cookie,$0.0005 per call.
      operationId: create_bookmark_endpoint_twitter_tweets__tweet_id__bookmark_post
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the tweet to bookmark.
          title: Tweet Id
        description: The ID of the tweet to bookmark.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BookmarkBody'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Tweet Actions Endpoints
      summary: Delete Bookmark
      description: Delete a bookmark, $0.0005 per call.
      operationId: delete_bookmark_api_endpoint_twitter_tweets__tweet_id__bookmark_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          description: The ID of the tweet to delete.
          title: Tweet Id
        description: The ID of the tweet to delete.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteBookmarkQuery'
      responses:
        '200':
          description: A confirmation of the action's success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TweetActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /twitter/tweets/delete-batch:
    post:
      tags:
      - Tweet Actions Endpoints
      summary: Delete One or More Tweets
      description: 'Deletes one or more tweets from a specified user account. This endpoint supports two modes:


        1. **Single Tweet Deletion**: Provide a `target_id` to delete a specific tweet.

        2. **Bulk Deletion**: Omit the `target_id` to delete **all** tweets from the user''s account.


        **Warning**: The bulk deletion mode is irreversible and will permanently remove all tweets from the account. Use with extreme caution.'
      operationId: delete_tweets_batch_twitter_tweets_delete_batch_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteTweetQuery'
        required: true
      responses:
        '200':
          description: Success confirmation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTweetResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    CreateThreadQuery:
      properties:
        items:
          items:
            type: string
          type: array
          minItems: 1
          title: Items
          description: JSON array of tweet texts, e.g. ["1/ hello","2/ world"].
          example:
          - 1/ hello
          - 2/ world
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'Optional HTTP proxy. Example: http://username:password@ip:port'
          example: http://username:password@ip:port
      type: object
      required:
      - items
      - cookie
      title: CreateThreadQuery
      description: Parameters for creating a tweet thread
    PostTweetData:
      properties:
        tweet_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Tweet Id
          description: Posted tweet ID
          example: '1234567890123456789'
        user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: User Id
          description: User ID who posted
          example: '1234567890'
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
      type: object
      title: PostTweetData
      description: Post tweet response data
    TweetActionResponse:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
        msg:
          type: string
          title: Msg
          description: Response message
          default: success
        data:
          type: boolean
          title: Data
          description: Success status
          default: true
      type: object
      title: TweetActionResponse
      description: Tweet action response
    DeleteTweetQuery:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        username:
          type: string
          title: Username
          description: Twitter username whose tweets to delete
          example: myusername
        target_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Target Id
          description: Specific tweet ID to delete (if not provided, deletes all user tweets)
          example: '1234567890123456789'
      type: object
      required:
      - cookie
      - username
      title: DeleteTweetQuery
      description: Parameters for deleting tweets
    QuoteTweetQuery:
      properties:
        media_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Media Url
          description: 'Single media URL: image, GIF, or video. Prefer media_urls for multiple images.'
          example: https://example.com/image.jpg
        media_urls:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 4
          - type: 'null'
          title: Media Urls
          description: Media URLs to attach (max 4 images, or 1 GIF, or 1 video). Cannot mix GIF/video with other media.
          example:
          - https://example.com/image1.jpg
          - https://example.com/image2.jpg
        tweet_content:
          type: string
          title: Tweet Content
          description: Content of the tweet to post
          example: Hello, Twitter! 🐦
        delegated_account_username:
          anyOf:
          - type: string
          - type: 'null'
          title: Delegated Account Username
          description: delegated account username
          example: elonmusk
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        community_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Community Name
          description: Name of Twitter community to post in or community id
          example: Python Developers or 1234567890123456789
        quote_tweet_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Quote Tweet Url
          description: URL of tweet to quote
          example: https://twitter.com/user/status/1234567890123456789
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub'
          example: http://username:password@ip:port
      type: object
      required:
      - tweet_content
      - cookie
      title: QuoteTweetQuery
      description: Parameters for quoting a tweet
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UnfavoriteTweetQuery:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
      type: object
      required:
      - cookie
      title: UnfavoriteTweetQuery
    BookmarkBody:
      properties:
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub'
          example: http://username:password@ip:port
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
      type: object
      required:
      - cookie
      title: BookmarkBody
      description: Body for bookmarking a tweet
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PostTweetResponse:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
        msg:
          type: string
          title: Msg
          description: Response message
          default: success
        data:
          anyOf:
          - $ref: '#/components/schemas/PostTweetData'
          - type: 'null'
          description: Posted tweet information
      type: object
      title: PostTweetResponse
      description: Post tweet API response
    LikeActionBody:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub'
          example: http://username:password@ip:port
      type: object
      required:
      - cookie
      title: LikeActionBody
      description: Body for the like action, containing only the cookie.
    RetweetActionBody:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub'
          example: http://username:password@ip:port
      type: object
      required:
      - cookie
      title: RetweetActionBody
      description: Body for the retweet action, containing only the cookie.
    CreateThreadResponse:
      properties:
        code:
          type: integer
          title: Code
          description: Response code
          example: 200
        msg:
          type: string
          title: Msg
          description: Response message
          example: success
        data:
          anyOf:
          - $ref: '#/components/schemas/CreateThreadData'
          - type: 'null'
          description: Created thread tweets
      type: object
      required:
      - code
      - msg
      title: CreateThreadResponse
      description: Response for creating a tweet thread
    PostTweetQuery:
      properties:
        media_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Media Url
          description: 'Single media URL: image, GIF, or video. Prefer media_urls for multiple images.'
          example: https://example.com/image.jpg
        media_urls:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 4
          - type: 'null'
          title: Media Urls
          description: Media URLs to attach (max 4 images, or 1 GIF, or 1 video). Cannot mix GIF/video with other media.
          example:
          - https://example.com/image1.jpg
          - https://example.com/image2.jpg
        tweet_content:
          type: string
          title: Tweet Content
          description: Content of the tweet to post
          example: Hello, Twitter! 🐦
        delegated_account_username:
          anyOf:
          - type: string
          - type: 'null'
          title: Delegated Account Username
          description: delegated account username
          example: elonmusk
        schedule:
          anyOf:
          - type: string
          - type: 'null'
          title: Schedule
          description: Schedule time for the tweet in ISO format
          example: '2024-01-01T12:00:00Z'
        reply_tweet_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Reply Tweet Id
          description: ID of tweet to reply to
          example: '1234567890123456789'
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
        community_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Community Name
          description: Name of Twitter community to post in or community id
          example: Python Developers or 1234567890123456789
        proxy:
          anyOf:
          - type: string
          - type: 'null'
          title: Proxy
          description: 'The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub'
          example: http://username:password@ip:port
      type: object
      required:
      - tweet_content
      - cookie
      title: PostTweetQuery
      description: Parameters for posting a tweet
    DeleteTweetResponse:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code
          default: 200
        msg:
          type: string
          title: Msg
          description: Response message
          default: success
        data:
          items:
            type: string
          type: array
          title: Data
          description: List of deleted tweet IDs
      type: object
      required:
      - data
      title: DeleteTweetResponse
      description: Delete tweet response
    CreateThreadTweetItem:
      properties:
        id:
          type: string
          title: Id
          description: Created tweet ID
          example: '1234567890123456789'
      type: object
      required:
      - id
      title: CreateThreadTweetItem
      description: Created tweet id in a thread
    DeleteBookmarkQuery:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
      type: object
      required:
      - cookie
      title: DeleteBookmarkQuery
    CreateThreadData:
      properties:
        tweets:
          items:
            $ref: '#/components/schemas/CreateThreadTweetItem'
          type: array
          title: Tweets
          description: Created tweets in thread order
          example:
          - id: '1234567890123456789'
      type: object
      required:
      - tweets
      title: CreateThreadData
      description: Create thread response data
    DeleteRetweetQuery:
      properties:
        cookie:
          type: string
          title: Cookie
          description: The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
          example: ct0=abc123... or 2c4a4e1832096aa694c739b83c83b6d96d43eba7
      type: object
      required:
      - cookie
      title: DeleteRetweetQuery
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer