Blog

Get a blog post

GET 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

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Query Parameters

workspace_id string required

The ID of the workspace

  • Example: ws_1234567890
id string

The post ID. Either id or slug is required.

  • Example: 1b4e28ba-2fa1-11d2-883f-0016d3cca427
slug string

The post slug. Either id or slug is required. Post slugs are unique across the workspace, so the slug alone identifies the post.

  • Example: october-release
category_slug string

With slug, only match the post if it is in this category — the lookup a /{category_slug}/{post_slug} URL maps to.

  • Example: product

Response

200 The post object
post object required
Show child attributes
id string required

Server-generated UUID.

  • Example: 1b4e28ba-2fa1-11d2-883f-0016d3cca427
category_id string required
  • Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7
slug string required

The post's path segment on the blog (/{category_slug}/{post_slug}).

  • Example: october-release
settings object required
Show child attributes
title string required

The post's H1.

  • Example: What shipped in October
template object required

The web template holding the post body.

Show child attributes
template_id string required
  • Example: blog_october_release
template_version integer required

The template version the post renders. 0 means the latest version, whatever it is at render time.

  • Example: 3
excerpt string
  • Example: A faster editor, scheduled broadcasts and a new API.
featured_image_url string
  • Example: https://cdn.example.com/blog/october.png
authors object[] | null
Show child attributes
name string required
  • Example: Jane Doe
avatar_url string
  • Example: https://cdn.example.com/avatars/jane.png
reading_time_minutes integer required

Displayed as given; not computed from the body.

  • Example: 4
seo object

Search and social metadata for the page, exposed to the blog theme.

Show child attributes
meta_title string
  • Example: Release notes for October
meta_description string
  • Example: Everything that shipped this month.
og_title string

Open Graph title

og_description string

Open Graph description

og_image string

Open Graph image URL

  • Example: https://cdn.example.com/og/october.png
canonical_url string
  • Example: https://blog.example.com/product/october-release
keywords string[]
meta_robots string

Content of the robots meta tag.

  • Example: index,follow
published_at string<date-time>

Absent while the post is a draft.

  • Example: 2026-10-01T09:00:00Z
created_at string<date-time> required
updated_at string<date-time> required
400 Bad request - missing query parameters object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

403 Forbidden - missing the blog read permission object
error string required

Error message

resource string required

The permission resource the endpoint requires.

  • Example: blog
permission string required

The access level the endpoint requires on that resource.

  • Available options: read, write
500 Internal server error. Also returned when no post matches. object
error string required

Error message