Skip to documentation
SparkGlimSparkGlim Developer
Search all documentation

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

    API reference

    Reseller account console

    Loads the signed-in reseller account console, actor, member relationships and review context after membership checks.

    GEThttps://api.sparkglim.net/api/white-label/portal/reseller

    Access model

    Access model
    SparkGlim session and member permissions
    Required scope
    settings:readmembers:read
    Documented availability
    Implemented in source

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

    Use the creator-team member workflow. Reseller access never grants unrestricted database or administrator access.

    Headers

    NameTypeValidation
    AuthorizationRequired

    Existing SparkGlim bearer session; server account membership and assigned capabilities still authorize each operation.

    stringValidation: Bearer existing authenticated session token.

    Request

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

    GET /api/white-label/portal/reseller
    http
    GET /api/white-label/portal/reseller HTTP/1.1
    Host: api.sparkglim.net
    Authorization: Bearer <EXISTING_SESSION_TOKEN>
    

    Response

    Success response · HTTP 200
    json
    {
      "success": true,
      "data": {
        "actor": {
          "accountId": "11111111-1111-4111-8111-111111111111"
        },
        "profile": {
          "status": "enabled"
        },
        "members": []
      }
    }
    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/white-label.ts
    • server/src/white-label/reseller-service.ts
    • server/src/white-label/schemas.ts