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. Use 'scheduled' for posts waiting to go live. 'all' never includes scheduled posts.

Available options:
published,
draft,
scheduled,
all
Example:

"published"

Response

The requested post

post
object
required