Skip to documentation
SparkGlimSparkGlim Developer
Search all documentation

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

    API reference

    Visible vote counts

    Legacy vote-count route checks a creator visibility flag but lacks the full current campaign, nominee and category eligibility boundary.

    GEThttps://api.sparkglim.net/api/public/vote-counts/:campaignId

    Access model

    Access model
    Public access with validation
    Documented availability
    Deployment not verified

    Availability is verified from source, not a live production guarantee.

    Legacy aggregate lacks the full current public visibility boundary. Not recommended for new integrations.

    Parameters

    NameTypeValidation
    campaignIdRequired

    Existing campaign record within the caller’s account and any narrower campaign credential.

    stringValidation: UUID or documented resource identifier.

    Request

    Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.

    Not available in the documented contract

    Response

    Success response · HTTP 200
    json
    {
      "success": true,
      "data": {
        "id": "11111111-1111-4111-8111-111111111111",
        "status": "pending"
      }
    }
    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