Exchange an authorization code
API Docs with browser clientExchange an authorization code (from the redirect) plus the PKCE code verifier for the account JWT. Single-use; verifies the code is bound to the same client_id and redirect_uri.
x-api-key<token>application/json- body
Exchange an authorization code (+ PKCE verifier) for the account JWT.
code*stringAuthorization code received on the redirect_uri.
1 <= length <= 512codeVerifier*stringPKCE code verifier matching the codeChallenge from authorize.
^[A-Za-z0-9._~-]{43,128}$clientId*stringThe client_id the authorization code was issued for.
1 <= length <= 2048redirectUri*stringThe redirect_uri the authorization code was issued for.
uriresource?stringOptional RFC 8707 resource indicator. When provided it must match the resource the authorization code was issued for; the minted JWT is already bound to that resource.
urilength <= 2048OK
application/json- response
The minted account JWT and minimal user details.
token*stringJWT to send as an Authorization: Bearer credential.
1 <= lengthtokenType*unknownexpiresAt*stringISO timestamp after which the token expires.
date-timeuser*Minimal user details delivered alongside an approved token.
curl -X POST 'https://example.com/v4/auth/oauth/token' \ -H 'Content-Type: application/json' \ -d '{ "code": "string", "codeVerifier": "string", "clientId": "string", "redirectUri": "http://example.com"}'{ "token": "string", "tokenType": "Bearer", "expiresAt": "2019-08-24T14:15:22Z", "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "primaryEmail": "string", "walletAddress": "string" }}Describe the admin GraphQL schema GET
Compact description of the read-only admin API: query conventions, Temporal/Stripe queries, and the core tables with their columns, relations and links, plus the names of every other table. Pass `tables` (comma-separated) to describe specific tables instead. Requires the ADMIN_GRAPHQL;;READ permission.
Get all EIP-712 types GET
Return registered legacy header/envelope types. V4 typed-data metadata uses signing instructions returned by the operation.