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:
sendNewsletter is true, an email will be sent to all subscribersAPI 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
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
Post created successfully
The ID of the created post