Skip to main content
Version: 3.7.0

Authorization

Most requests of the Public REST API need to include an authorization token either as an Authorization request header or as a URI Query Parameter named access_token.

Given a valid token mySecret the header would need to be set in one of the following ways:

Authorization: mySecret
Authorization: Bearer mySecret

For sending the token as a query parameter the HTTP query would look like the following:

DELETE /api/public/dashboard/{dashboard-ID}?access_token=mySecret

The token to be used to access the Optimize API is a configurable shared secret. Refer to Public API Configuration for the particular configuration key to set this token.

The following is an example configuration with a token value of mySecret:

  api:
accessToken: mySecret