This quickstart covers creating and publishing content. To fetch content for your frontend, see the Fetch Content (CDS) quickstart.
Availability
API access is available on the Custom Enterprise plan only. API access is a paid feature. Your agreement sets the cost. To get API access or to add API users, contact support@thepublive.com.Prerequisites
You need three values from the Publive Dashboard:Step 1: Build your auth token
The CMS uses HTTP Basic Auth. Encode your key and secret:Step 2: Create a category
Every published post requires aprimary_category. Create one first:
Step 3: Create a draft post
Create a post inDraft status. Drafts are not publicly visible via the CDS:
Step 4: Publish the post
Update the post status fromDraft to Published using a PATCH request:
If your organisation uses an approval workflow, submit for review first by setting
status to Approval Pending. An approver then publishes the post. See Approval Flows for details.Step 5: Verify via CDS
Confirm the post is publicly available by fetching it from the CDS:Step 6: Schedule or backdate (optional)
Publish at a future time by settingscheduled_at instead of status: Published:
published_at to a past timestamp along with status: Published.
Content state machine
Posts move through these states. Only valid transitions are accepted by the API:What’s next?
Fetch Content (CDS)
Serve your published content to a frontend
Editorial Workflows
Set up maker-checker and approval flows
CMS API Reference
Full endpoint reference for all CMS routes
JavaScript SDK
Use the official SDK for typed CMS operations