Query the authorization server for an access token used to access property resources.
If the automatic delivery method for API keys is used, the grant type urn:ietf:params:oauth:grant-type:api-key
needs to be used to request an API key. This grant type requires grant_type=urn:ietf:params:oauth:grant-type:api-key
, client_id
, client_secret
, redirect_uri
and code
.
For OAuth 2.0., two different grant types (authorization_code
, refresh_token
) are supported. Authorization code grant type requires grant_type=authorization_code
, client_id
, client_secret
, redirect_uri
, code
. Refresh token grant type requires grant_type=refresh_token
, client_id
, client_secret
, refresh_token
.
Read the Authentication guide for implementation tips, user flows and testing advice.
post https://api.cloudbeds.com/api/v1.2/access_token