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>",
  "scheduled_at": "2023-11-07T05:31:56Z"
}
'
{
  "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).

Path Parameters

post_id
integer<int64>
required

Body

application/json
content
string
scheduled_at
string<date-time>

Response

Success

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