API reference
Public ticket verification
Forwards bearer ticket-credential verification to the Web ticket reader and preserves its status and payload; it does not perform admission.
https://api.sparkglim.net/api/public/tickets/public-verifyAccess model
- Access model
- Public access with validation
- Documented availability
- Implemented in source
Availability is verified from source, not a live production guarantee.
Open the returned checkout URL. SparkGlim Server owns prices, methods, payment verification and fulfillment; browser returns are navigation only.
Treat ticket codes as bearer credentials. Current handler can reveal attendee details after check-in; public verification never authorizes check-in.
Parameters
| Name | Type | Validation |
|---|---|---|
codeRequiredThe existing resource credential or verification code required by this endpoint; never publish a real OTP or ticket secret. | string | Validation: valid ticket credential. |
Request
Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.
GET /api/public/tickets/public-verify?code=EXAMPLE_TICKET_CREDENTIAL HTTP/1.1
Host: api.sparkglim.net
Response
{
"success": true,
"data": {
"ticket_code": "<TICKET_CODE>",
"checked_in": false,
"checked_in_at": null,
"details_revealed": false,
"campaign": {
"title": "Example event",
"slug": "example-event",
"venue": "Example venue"
},
"ticket_name": "Example ticket"
}
}{
"success": false,
"error": "<ERROR_MESSAGE>"
}Validation, permissions, unavailable records and temporary service failures use the handler’s HTTP status and error payload.
Limits & retries
Default Server limit: 100 requests per IP per 60 seconds. Resource-specific controls also apply.
Source compatibility
Authorized operations require account-specific testing.
server/src/api/router.tsserver/src/api/routes/public.ts