Skip to main content
GET
/
blog
/
{public_slug}
Get Public Blog Post
curl --request GET \
  --url https://api.example.com/blog/{public_slug}
Retrieves a single published blog post by its public slug. Returns the blog post markdown content and metadata. This endpoint does not require authentication.

Path Parameters

public_slug
string
required
The unique public slug of the blog post.

Request

curl -X GET "https://app.shipstar.ai/api/v1/blog/weekly-update-march-31-2025"

Response

Returns the blog post object with its full markdown content.

Example Response

200
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "slug": "weekly-update-march-31-2025",
  "content": "# What We Shipped This Week\n\nThis week we focused on improving the dashboard experience...",
  "period_start": "2025-03-24T00:00:00Z",
  "period_end": "2025-03-31T23:59:59Z",
  "published_at": "2025-03-31T12:00:00Z",
  "created_at": "2025-03-31T10:00:00Z"
}

Errors

StatusDescription
404Blog post not found or not published
422Invalid slug format