Skip to main content
POST
/
social
/
posts
Create post (publish immediately)
curl --request POST \
  --url https://api.smartlyq.com/v1/social/posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "account_ids": [
    "<string>"
  ],
  "scheduled_at": "2023-11-07T05:31:56Z",
  "media_urls": [
    "<string>"
  ]
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "content": "<string>",
    "status": "<string>",
    "scheduled_at": "2023-11-07T05:31:56Z",
    "published_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Body

application/json
content
string
required
account_ids
string[]
required
scheduled_at
string<date-time>
media_urls
string[]

Response

Success

success
enum<boolean>
Available options:
true
data
object
meta
object