Skip to main content
GET
Get post

Authorizations

Authorization
string
header
required

Your Marble API key

Path Parameters

identifier
string
required

Post ID or slug

Example:

"my-post-slug"

Query Parameters

format
enum<string>

Content format (html or markdown)

Available options:
html,
markdown
Example:

"html"

status
enum<string>
default:published

Filter by post status. Use 'published' for live posts, 'draft' for unpublished posts, or 'all' for both.

Available options:
published,
draft,
all
Example:

"published"

Response

The requested post

post
object
required