CreateToken
POST/v1/token/create
Usage Plan
| Type | Requests | Time limit (seconds) |
|---|---|---|
| Rate | 1500 | 60 |
| Burst | 1500 | 60 |
Learn more about rate limits and usage plans in the Rate Limiting guide.
Exchanges an authorization code for an OAuth access token. Provide the authorization code received from the OAuth consent flow along with your client credentials (client_id and client_secret). If your OAuth client is configured to require PKCE, the authorization flow must have started with a code_challenge and you must send the matching code_verifier here, or the exchange is rejected. On success, returns a JWT access token, its expiry duration, granted scopes, and the seller's authorized project code.
Request
Responses
- 200
- default
A successful response.
An unexpected error response.