Skip to main content
Version: 1.0.0

xScaler Customer API

Customer-facing, versioned API for managing tenants and tenant ingestion secrets programmatically.

Authentication

All /v1 endpoints require a developer API key (prefix xsk_) in the Authorization header:

Authorization: Bearer xsk_live_...

Developer keys are minted from the portal Developer settings (an org owner or admin calls POST /developer/keys with a JWT). The plaintext key is shown once at creation and is never retrievable afterwards.

Scopes

Each key carries granular scopes, enforced per endpoint:

ScopeGrants
tenants:readlist tenants, list tenant secrets
tenants:writecreate a tenant
tenants:pausepause / resume a tenant
secrets:writecreate a tenant ingestion secret
secrets:deletedelete (hard) a tenant ingestion secret

One-time secrets

Tenant ingestion secrets (sk_live_ tokens) and developer keys are returned in plaintext only in the create response. List endpoints return metadata only. Deletion is a hard delete; the data plane stops authorizing the secret within a short cache window (~10s).

Authentication

Org-scoped developer API key.

Security Scheme Type:

http

HTTP Authorization Scheme:

bearer

Bearer format:

xsk_live_*