Beladed Docs
Help Sign in Create account

BASN · Authentication

Authentication

Choose the narrowest credential for your environment, account, product, and operation. This page applies the contract to BASN.

Credential types

CredentialWhere it belongsUse
No keyAny clientExplicitly public reads and redirect destinations
Publishable keyApproved web origin or extensionNarrow browser-safe operations; never grants administrative access
Secret keyYour trusted server onlyAccount-scoped reads and mutations
OAuth clientBackend authorization flowApproved partner integrations

Send credentials in headers

Use the X-Beladed-API-Key header for server-side requests or X-Beladed-Public-Key for explicitly supported client operations. Do not put credentials in query strings because URLs can be retained in logs and browser history.

curl https://api.beladed.dev/api/events/all \
+  -H "X-Beladed-API-Key: sk_dev_beladed_REPLACE_ME"

Account eligibility

Business and Streamer accounts can operate supported product resources. Personal accounts participate in documented consumer flows, such as attending events or completing purchases, but do not receive merchant or operator permissions.

Scopes and permissions

Product scope
Limits a credential to the selected Beladed products.
Read
Permits documented read operations.
Edit
Permits normal create and update operations where the account is eligible.
Administrator
Reserved for sensitive owner actions and never implied by a public key.
Type to search the complete public documentation catalog.