https://demo.notifuse.com/api/blogCategories.create Creates a category. Posts always belong to one, so a blog needs at least one category before its first post. Requires the blog write permission.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Query Parameters
The ID of the workspace. Passed in the query string, not the body.
- Example: ws_1234567890
Body application/json
- Maximum length: 255
- Example: Product
Lowercase letters, digits and single hyphens. Must be unique among the workspace's categories, and may not be a path another route answers on the blog's domain (v, t, r, visit, opens, track, preferences, subscribe, unsubscribe, unsubscribe-oneclick, health, healthz) or start with api, console or notification-center. A category keeps such a slug it already had.
- Maximum length: 100
- Example: product
- Example: Release notes and product announcements.
Search and social metadata for the page, exposed to the blog theme.
Show child attributes
- Example: Release notes for October
- Example: Everything that shipped this month.
Open Graph title
Open Graph description
Open Graph image URL
- Example: https://cdn.example.com/og/october.png
- Example: https://blog.example.com/product/october-release
Content of the robots meta tag.
- Example: index,follow
Response
201 Category created object
Show child attributes
Server-generated UUID.
- Example: 7c9e6679-7425-40de-944b-e07fc1f90ae7
The category's path segment on the blog (/{category_slug}).
- Example: product
Show child attributes
- Example: Product
- Example: Release notes and product announcements.
Search and social metadata for the page, exposed to the blog theme.
Show child attributes
- Example: Release notes for October
- Example: Everything that shipped this month.
Open Graph title
Open Graph description
Open Graph image URL
- Example: https://cdn.example.com/og/october.png
- Example: https://blog.example.com/product/october-release
Content of the robots meta tag.
- Example: index,follow
400 Bad request - validation failed or the slug is taken object
Error message
401 Unauthorized - invalid or missing authentication token object
Error message
403 Forbidden - missing the blog write permission object
Error message
The permission resource the endpoint requires.
- Example: blog
The access level the endpoint requires on that resource.
- Available options: read, write