Public API
Glidely public site endpoints
These endpoints are exposed by the marketing site for public blog content, lightweight site state, and discovery.
GET
/api/postsList published blog posts
Returns published posts from Payload CMS.
Query Parameters
limitoptional. Maximum number of posts to return. Defaults to 10.
Example Response
{
"docs": [
{
"id": 1,
"title": "Example Post",
"slug": "example-post",
"publishedAt": "2026-04-18T00:00:00.000Z"
}
],
"totalDocs": 1,
"limit": 10,
"page": 1,
"totalPages": 1
}GET
/api/blog-searchSearch published blog posts
Searches post title, slug, and selected metadata fields.
Query Parameters
qoptional. Search query string. Returns the latest published posts when omitted.
Example Response
{
"docs": [
{
"title": "Example Post",
"slug": "example-post",
"publishedAt": "2026-04-18T00:00:00.000Z"
}
]
}GET
/api/weekly-invitesRead the weekly invite counter
Returns the current marketing invite counter based on the day of week.
Example Response
{
"spotsLeft": 3,
"spotText": "spots",
"dayOfWeek": 3,
"message": "Weekly free invites: 3 spots left"
}GET
/api/statusService health for the public site APIs
Returns a lightweight status payload suitable for monitoring and discovery.
Example Response
{
"status": "ok",
"service": "glidely-public-site",
"site": "https://glidely.ai",
"time": "2026-04-18T00:00:00.000Z"
}