Skip to main content
POST
/
api
/
social
/
publish
Publish Social Post
curl --request POST \
  --url https://api.example.com/api/social/publish \
  --header 'Content-Type: application/json' \
  --data '
{
  "platform": "x",
  "text": "<string>"
}
'
{
  "platform": "x",
  "post_id": "<string>",
  "post_url": "<string>"
}

Body

application/json

Request payload for direct social publishing.

platform
enum<string>
required
Available options:
x,
linkedin
text
string
required
Required string length: 1 - 3000

Response

Successful Response

Response payload for direct social publishing.

platform
enum<string>
required
Available options:
x,
linkedin
post_id
string
required
post_url
string | null