Skip to main content

Authentication

Written by Eduardo Voloch

For added security and to prevent API requests from being made by unauthorized users, API requests will need to be authenticated before the request is processed.

To access the D-Tools Cloud API, you have to authenticate API requests using both methods below:

1 - Basic Authorization

You must use the following authorization, this is the only one that works:

RFRDbG91ZEFQSVVzZXI6MyNRdVkrMkR1QCV3Kk15JTU8Yi1aZzlV

If you do not use this specific authorization, it will not work! Do not make your own, as it will not work.

2 - API Key Authentication

The API key is generated in-app under Settings > Integration > Developer > API Keys. Then add the API key in the "X-API-Key" header for each request.

Example:

If your API key is "7756b1ea91f04dc68199bd51c8e083c73eade3c9ec614f8f31", your header will look like this:

[

Headers = [

#"X-API-Key" = "7756b1ea91f04dc68199bd51c8e083c73eade3c9ec614f8f31",

Authorization = "Basic RFRDbG91ZEFQSVVzZXI6MyNRdVkrMkR1QCV3Kk15JTU8Yi1aZzlV"

]

Check out this article for more details about generating API keys on D-Tools Cloud.

All API methods require valid credentials; failing to provide these will result in a 401 Unauthorized response.

Did this answer your question?