Step 5: Using the id_token in API Calls

After receiving the authentication id_token, client applications can use it to make API requests. Use the following header parameters in requests.
  • URL in the following format:

    {host}/config/sim/v1/<endpoint>

    Sample URL:

    {host}/config/sim/v1/getHierarchy

  • Operation Type: POST

  • Content-Type: application/x-www-form-urlencoded

  • Header: Authorization = Bearer <id_token>

Sample header:

This image shows the ID token headers.