Skip to main content
PATCH
/
social
/
posts
/
{post_id}
Update social post
curl --request PATCH \
  --url https://api.smartlyq.com/v1/social/posts/{post_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "platforms": [
    "<string>"
  ],
  "account_ids": [
    123
  ],
  "scheduled_time": "2023-11-07T05:31:56Z",
  "media_urls": [
    "<string>"
  ],
  "link": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "content": "<string>",
    "platforms": [
      "<string>"
    ],
    "status": "<string>",
    "scheduled_time": "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"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.smartlyq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

post_id
integer<int64>
required

Body

application/json

At least one field must be provided.

content
string
platforms
string[]
account_ids
integer[]
scheduled_time
string<date-time>
media_urls
string[]

Response

Updated post

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