API product

Public Embed API

Audited public and embed-safe routes.

Audited route registry

The endpoint list below is generated from the existing typed documentation registry and validated against implemented server sources.

Product-specific contract

Authentication, route prefix, request fields, response shape, and permissions remain separate from the other API products.

Public API

Implemented endpoints

Public and unauthenticated routes for approved public SparkGlim data, payment starts, ticket verification, blog content, and campaign summaries.

Authentication: Unauthenticated public routes with validation, forwarding, caching, and gateway protections where implemented. Do not place secret keys in browser embeds.

POST/api/public/vote

Initialize public vote

Initializes a public vote payment through the existing public payment flow.

Unauthenticated public route with server-side validation and forwardingSuccess: 200
POST/api/public/tickets/purchase

Initialize public ticket purchase

Initializes a public ticket purchase.

Unauthenticated public route with server-side validation and forwardingSuccess: 200
GET/api/public/tickets/public-verify

Public ticket verification

Verifies publicly verifiable ticket codes through the existing public verification flow.

Unauthenticated public verification routeSuccess: 200
GET/api/public/blog

List public blog posts

Lists published public blog posts with search, category, featured, limit, and offset filters.

Unauthenticated public routeSuccess: 200
GET/api/public/donation-summary/:campaignId

Get public donation summary

Returns public fundraising summary data for a campaign.

Unauthenticated public route with short cacheSuccess: 200
GET/api/public/vote-counts/:campaignId

Get public vote counts

Returns public vote counts for a campaign.

Unauthenticated public routeSuccess: 200

Continue exploring Developer

Return to SparkGlim