Skip to main content
POST
/
v1
/
posts
/
x
Create X Post
curl --request POST \
  --url https://api.stover.app/v1/posts/x \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "media_urls": [
    "<string>"
  ],
  "mentions": [
    "<string>"
  ],
  "status": "draft",
  "scheduled_date": "2023-11-07T05:31:56Z"
}
'
{
  "success": true,
  "data": {}
}

Request Fields

FieldRequiredDescription
contentYesTweet content (max 280 chars)
media_urlsNoURLs of images/videos
mentionsNoHandles without @ prefix
statusNodraft or scheduled
scheduled_dateNoISO 8601 date

Example

curl -X POST https://api.stover.app/v1/posts/x \
  -H "Authorization: Bearer stover_pk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Big announcement coming soon!",
    "mentions": ["stoverapp"],
    "status": "draft"
  }'

Authorizations

Authorization
string
header
required

API key: Bearer stover_pk_...

Body

application/json
content
string
required

Tweet content (max 280 chars)

media_urls
string[]
mentions
string[]

Handles without @

status
enum<string>
default:draft
Available options:
draft,
scheduled
scheduled_date
string<date-time>

Response

Post created

success
boolean
data
object