Authentication
You need to authenticate to Probely to get a valid authorization token, which is required to make requests to the Probely API.
Step 1: Obtain the authorization token
Follow these steps to obtain the authorization token:
- Go to the Probely app and authenticate.
- Generate an API Key, which is your authorization token. Learn how in this Help Center article on How to generate an API Key.
- Save the generated API Key in a safe place.
warning
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).
Step 2: Use the authorization token
Send the authorization token (API Key) prefixed with JWT
(don't forget the trailing space) in the Authorization
header of your requests. 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 authorization token (API Key) where you see <YOUR_API_TOKEN>
.