Skip to content

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer pk_live_xxxxxxxxxxxx

Generate keys in Dashboard → Settings → API Keys. Each key is bound to a specific blog.

PlanRequests/hour
Free60
Starter300
Creator1,000
Scale10,000
Enterprise10,000+

Rate limit headers are included in every response:

X-RateLimit-Limit: 300
X-RateLimit-Remaining: 299
X-RateLimit-Reset: 1711324800

When exceeded, you’ll receive a 429 response with retry_after seconds.

All errors follow a consistent format:

{
"error": "not_found",
"message": "Post not found"
}
StatusError CodeDescription
400bad_requestInvalid input
401unauthorizedMissing or invalid API key
403forbiddenPlan upgrade required (includes upgrade_url)
404not_foundResource not found
409conflictDuplicate resource (slug, domain)
429rate_limit_exceededRate limit hit (includes retry_after)
500internal_errorServer error
https://api.postlark.ai/v1

Interactive docs: api.postlark.ai/docs