Posts
Create a blog post for the authenticated website.
post/api/v1/posts
Request
- Base URLhttps://api.unicornplatform.com
- AuthHTTP bearer
Request body
Example request
{
"headline": "How to build a landing page",
"html": "<p>Post content</p>",
"slug": "my-post",
"directory": "/blog"
}Response
Post was created.
Example response
{
"id": "post_abc123def",
"slug": "my-post",
"directory": "/blog",
"path": "/blog/my-post",
"url": "https://example.com/blog/my-post"
}Changes
No recorded changes to this operation across all 1 revision of this API.