OAuth 2.0
Start the authorization code flow
Picket's authorization server endpoint.
GEThttps://picketapi.com/api/v1/oauth2/authorize
Query parameters
Header parameters
Response
One or more arguments are invalid or required arguments are missing
Body
codeenum
invalid_requestinvalid_clientinvalid_grantunauthorized_clientunsupported_grant_type
msg*string
Human-readable text providing additional information
Request
Response
Request a new access token.
Specification
The OAuth 2.0 token endpoint used in two cases:
- Authorization Code Grant with the [PKCE extension
- Resource Owner Password Credentials, adapted for wallet-based authentication
POSThttps://picketapi.com/api/v1/oauth2/token
Header parameters
Body
TokenRequest (one of)
Response
New access token generated.
Body
accessToken*string
The access token value
tokenType*enum
Type of the token is set to "Bearer"
Bearer
expiresIn*integer (int32)
The lifetime in seconds of the access token
Request
Response
Last updated