In this guide, you will be shown the basics on how to get authenticated and make requests to the Enable API.
In order to access the Enable API, you need to be authenticated. All requests must be authorised via a JSON Web Token (JWT). To generate this token, send a HTTP POST request to the token endpoint,
you will need to include the following credentials as
The encoded form data should contain:
To obtain these credentials, please contact Enable's Helpdesk. More information can be found on our Authentication page.
If your credentials are correct, the endpoint will return a valid JWT that you can use to authorise all your requests to the Enable API.
Now that you have your access token, you can try using it to make a GET request to the API. As an example, we will show how to send a request to get deal information from Enable by sending a HTTP GET request to https://api.deal-track.com/v1/deals.
In this request, you must send a request header that provides the JWT you received in the last step. The bearer token should be placed in the request header, with the key authorization and a prefix of “Bearer”:
If you were successfully authorised, the API should return you a JSON object containing a list of deals that looks something like this:
Related data is provided in the “Relationships” section of the JSON returned. These URLs can be used to obtain related information to the entity returned.