Admin Dev Auth Token
Internal Admin Endpoints
Admin Dev Auth Token
Internal-only endpoint for minting short-lived staging dev-auth tokens
POST
Admin Dev Auth Token
This endpoint mints a short-lived signed dev-auth token for browser
development/testing against local or staging
Fields:
Use the returned token as:
platform-api targets.
Scope
- Internal-only
- Disabled for production use
- Protected by
ADMIN_AUTH_SECRET_TOKEN
Request
Headers:Authorization: Bearer <ADMIN_AUTH_SECRET_TOKEN>Content-Type: application/json
primaryWallet: required canonical wallet for the synthetic sessionlinkedWallets: optional additional linked walletsuserId: optional synthetic user id overridevmPreference: optional preferred VM for wallet routingexpiresInSeconds: optional TTL overrideissuer: optional issuer override
Response
Runtime Behavior
platform-api treats accepted dev-auth tokens as wallet-backed sessions for:
- owner reads
- wallet routing
- realtime subscription ticket issuance
- feature-flag lookups
- the runtime is production
DEV_AUTH_TOKEN_SECRETis unset- the token is expired or malformed
- the wallet claims are invalid