v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Oauth2 Access Token

Request oauth2 access token

Facilitates the acquisition of an OAuth2 access token. It requires either a basic authorization header or a client_id provided in the request body.

post/zephr/oauth2/token

Query parameters

client_idstring
Example:client_id=1234567890

The Zephr site's Oauth2 client ID.

Headers

authorizationstring

Encoded basic authorisation header that includes Zephr Site Oauth2 Client ID.

Response

OK

access_tokenstring

Oauth2 access token

token_typestring
expires_innumber

Oauth2 token expiry time in seconds

refresh_tokenstring

Oauth2 refresh token to reuest a new Oauth2 token

user_idstring

Authenticated user ID