Create a new post in your publication. The publication is identified by the API key provided in the Authorization header.
Requirements:
markdown field is required and will be converted to TipTap JSON formattitle field is requiredBehavior:
status to "draft" to create a draft insteadsendNewsletter is true, an email will be sent to all subscribers when the post publishesscheduledAt (Unix timestamp in milliseconds) to schedule first-publish for a future time. Must be in the future and at most 30 days out. Scheduling cannot be combined with status: "draft". When scheduled, the response status is "scheduled" and the post publishes (plus sends newsletter, if requested) at the scheduled time.API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.
Body
Post content in Markdown format
Title of the post
200Optional subtitle or brief summary
300Optional URL to the post's cover image
Whether to send an email newsletter to subscribers. Default: false
Status of the post. Default: published
published, draft Optional URL-friendly identifier for the post. If not provided, will be generated from title
1 - 256Optional preview text for the post. If not provided, will be generated from content
500Optional array of category tags for the post. Can also be a comma-separated string.
Optional Unix timestamp (milliseconds) to schedule first-publish of the post at a future time. Must be in the future. Cannot be combined with status: 'draft'. When set, the post is created and queued to publish (and send newsletter, if requested) at the specified time.
x > 0