GovCloud Authorization

To use the Try It feature, use this API to generate OAuth2.0 Access Token for authentication and authorization with Phoenix GovCloud APIs.

Important -

  1. This procedure is APPLICABLE only for generating Phoenix GovCloud token.
  2. After generating the token, ensure the initial letter of the Request Headers in your API request is in Capital, i.e. 'Accept' and 'Authorization'.

To generate Access Token and use it for authorization with GovCloud APIs -

  1. Generate API Credentials, Client ID and Secret Key, from the Phoenix GovCloud console. For step-by-step instructions, see Manage API Credentials.
  2. Provide Client ID as username and Secret Key as password in this API.
  3. Copy the Access Token from the response.
  4. Click Try It button for the API which you want to call or explore and provide the copied Access Token in the Authorization text box in the format -
    Bearer <Access_Token>
    Example - Bearer Zhdsohdspcnxxxxxx
Click Try It! to start a request and see the response here!