Skip to main content

Authentication

A valid authorization token is required to make requests to the Probely API and, to obtain one, you must do the following:

  1. Authenticate to the Probely app.
  2. Generate an API Key.
  3. Save the generated API Key in a safe place.
danger

Treat the authorization token as a password since it allows access to information in your account and possible manipulation (depending on the role associated with the API Key).

In requests, send the API Key as authorization token in the Authorization header, prefixed with JWT (don't forget the trailing space). For example, a request to list the targets in your account:

Request
curl https://api.probely.com/targets/ \
-X GET \
-H 'Authorization: JWT <YOUR_API_TOKEN>' \
-H "Content-Type: application/json"

Put your API Key where you see <YOUR_API_TOKEN>.