Skip to main content
POST
/
api
/
v1
/
projects
/
{project_id}
/
posts
Create Post
curl --request POST \
  --url https://api.example.com/api/v1/projects/{project_id}/posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Content": "<string>",
  "Media": "<string>",
  "TemplateId": "<string>",
  "PromptId": "<string>",
  "ScheduleDate": "2023-11-07T05:31:56Z",
  "Timezone": "<string>",
  "Platforms": [
    "INSTAGRAM",
    "FACEBOOK",
    "LINKEDIN",
    "X",
    "YOUTUBE",
    "TIKTOK",
    "PINTEREST",
    "REDDIT",
    "TELEGRAM",
    "THREADS"
  ],
  "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

Body

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

Response

Successful Response

success
boolean
required
data
unknown