Authentication

Scoped tokens

V2 replaces static keys with scoped, expiring tokens.

curl -X POST https://api.example.com/v2/tokens \
  -H "Authorization: Bearer sk_test_..." \
  -d '{ "scopes": ["customers:read"], "expires_in": 3600 }'

Was this guide helpful?