Public API reference
/Oauth2 Access Token
v4 Public API reference
Authentication
Braintree Payments
Browser Feature Transformations
Decision Engine
Dynamic Offer Decision Engine
Dynamic Offer Promo Code Decision
OAuth Flow
Payments
Product Sharing
SDK Feature Decision Engine
Sessions
Stripe Payments
Third-Party Authentication
User
V4 Gifts
Web Analytics
Zephr Features
Component Library
Change the Stripe subscription price
Subscription
Facilitates the acquisition of an OAuth2 access token. It requires either a basic authorization header or a client_id provided in the request body.
Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
- https://demo-sitehttps://demo-site/zephr/oauth2/token
curl -i -X POST \
'https://demo-site/zephr/oauth2/token?client_id=client_id%3D1234567890' \
-H 'authorization: Authorization: Basic ZGVtbzpwQDU1dzByZA==' \
-b blaize_session=YOUR_API_KEY_HEREResponse
{ "access_token": "string", "token_type": "string", "expires_in": 0, "refresh_token": "string", "user_id": "string" }