Posts API
Posts are long-form content tied to your professional profile. Use them for thought leadership, case studies, or portfolio pieces. Posts support Markdown, tags, cover images, and AI-suggested questions that visitors can ask your AI Representative.
Authentication required
All post management endpoints require a valid JWT or API key.
Create a post
/api/v1/postsCreate a new post draft.
Request body
titlestringRequiredPost title. Displayed as the heading and used in the URL slug.
slugstringRequiredURL-safe identifier for the post. Must be unique per user.
bodyMarkdownstringRequiredPost content in Markdown format.
tagsstring[]OptionalArray of topic tags for categorization and discovery.
coverImageUrlstringOptionalURL to the cover image displayed at the top of the post.
suggestedQuestionsstring[]OptionalQuestions visitors can click to ask your AI Representative about this post.
statusstringOptionalInitial status: 'draft' (default) or 'published'.
List your posts
/api/v1/postsList all posts belonging to the authenticated user, including drafts and published.
Returns posts ordered by creation date (newest first). Use this to build a content dashboard or editorial calendar.
Get a post by ID
/api/v1/posts/{post_id}Retrieve a specific post by its unique ID.
Update a post
/api/v1/posts/{post_id}Update one or more fields on an existing post.
Send only the fields you want to change. Updating a published post takes effect immediately.
Delete a post
/api/v1/posts/{post_id}Permanently delete a post. This action cannot be undone.
Deleting a published post immediately removes it from your public profile. Any shared links or short URLs will return a 404.
Publish a post
/api/v1/posts/{post_id}/publishPublish a draft post, making it visible on your public profile.
Unpublish a post
/api/v1/posts/{post_id}/unpublishRevert a published post to draft status.
Unpublished posts are removed from your public profile but not deleted. You can republish at any time.
Suggested questions
Add 2-3 suggested questions to each post. These appear as quick-tap buttons when visitors interact with your AI Representative, driving engagement with your content.