Skip to main content
PUT
/
api
/
v1
/
projects
/
{project_id}
/
posts
/
{post_id}
Update Post
curl --request PUT \
  --url https://api.example.com/api/v1/projects/{project_id}/posts/{post_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Content": "<string>",
  "Media": "<string>",
  "TemplateId": "<string>",
  "PromptId": "<string>",
  "Platforms": [
    "<string>"
  ],
  "ScheduleDate": "2023-11-07T05:31:56Z",
  "Timezone": "<string>",
  "Status": "DRAFT"
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required
post_id
string
required

Body

application/json
Content
string | null
Media
string | null
TemplateId
string | null
PromptId
string | null
Platforms
string[] | null
ScheduleDate
string<date-time> | null
Timezone
string | null
Status
enum<string> | null
Available options:
DRAFT,
SCHEDULED,
PUBLISHED,
FAILED,
PARTIALLY_PUBLISHED,
QUEUED

Response

Successful Response

success
boolean
required
data
unknown