https://demo.notifuse.com/api/blogPosts.get Retrieves a post by id or by slug; when both are given, id wins. Drafts are returned too. Requires the blog read permission.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Query Parameters
The ID of the workspace
The post ID. Either id or slug is required.
The post slug. Either id or slug is required. Post slugs are unique across the workspace, so the slug alone identifies the post.
With slug, only match the post if it is in this category — the lookup a /{category_slug}/{post_slug} URL maps to.
Response
200 The post object
Show 7 child attributes Hide 7 child attributes
Server-generated UUID.
The post's path segment on the blog (/{category_slug}/{post_slug}).
Show 7 child attributes Hide 7 child attributes
The post's H1.
The web template holding the post body.
Show 2 child attributes Hide 2 child attributes
The template version the post renders. 0 means the latest version, whatever it is at render time.
Show 2 child attributes Hide 2 child attributes
Displayed as given; not computed from the body.
Search and social metadata for the page, exposed to the blog theme.
Show 8 child attributes Hide 8 child attributes
Open Graph title
Open Graph description
Open Graph image URL
Content of the robots meta tag.
Absent while the post is a draft.
400 Bad request - missing query parameters object
Error message
401 Unauthorized - invalid or missing authentication token object
Error message
403 Forbidden - missing the blog read permission object
Error message
The permission resource the endpoint requires.
The access level the endpoint requires on that resource.
500 Internal server error. Also returned when no post matches. object
Error message