Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To test use your APIs using curl:

  1. Create an Application Access in Usage Engine as described in Configuring Application Access. Ensure to copy the Client Secret during creation since it will only be visible at that time.

  2. Call the authorization api with your Application credentials. Configure the audience based on which envionment Environments you are calling.

    1. Audience EU: https://api.digitalroute.io/

    2. Audience US: https://api.us.digitalroute.io/

Code Block
curl "https://api.digitalroute.io/authentication/v1/oauth/token" \
  -X POST \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d client_secret="woN7vnKUVAC-y_WVd8Eih6R06mNfFA9V9ZUjid5Ae7iGE5R8Kll_fFY7EiRQ0d-9" \
  -d client_id="f9bP7jTE63gNlA8jluCoPMs2ueP7si1L" \
  -d grant_type="client_credentials" \
  -d audience="https://api.digitalroute.io/" 

...

Note: These example uses Production EU URL for accessing the APIs, update the URL based on your environment. For more information refer to Environments .