Get a published blog post by slug

GET /api/v1/public/blog/posts/{slug}

Public, unauthenticated, cached fetch of one published post. Returns 404 for drafts, soft-deleted, or unknown slugs.

Operation ID: get_public_post_api_v1_public_blog_posts__slug__get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

slug string required

Responses

200 Successful Response

slug string required
title string required
excerpt string
body_md string required
cover_image_url string
cover_image_alt string
seo_title string
seo_description string
published_at string · date-time required
updated_at string · date-time required
author_name string
tags array · string
related array · BlogPostPublicSummary BlogPostPublicSummary

Up to 3 related published posts (tag overlap, falling back to most-recent if no overlap exists).

8 fields
slug string required
title string required
excerpt string
cover_image_url string
cover_image_alt string
published_at string · date-time required
author_name string
tags array · string

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object

429 Too Many Requests - Rate limit exceeded