Skip to documentation
SparkGlimSparkGlim Developer
Search all documentation

Try a topic in your language or an exact API path.

    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.

    GEThttps://api.sparkglim.net/api/public/tickets/public-verify

    Access 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

    NameTypeValidation
    codeRequired

    The existing resource credential or verification code required by this endpoint; never publish a real OTP or ticket secret.

    stringValidation: 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
    http
    GET /api/public/tickets/public-verify?code=EXAMPLE_TICKET_CREDENTIAL HTTP/1.1
    Host: api.sparkglim.net
    

    Response

    Success response · HTTP 200
    json
    {
      "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"
      }
    }
    Error response · HTTP 400
    json
    {
      "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.ts
    • server/src/api/routes/public.ts