Skip to main content

Authentication

Eduardo Voloch avatar
Written by Eduardo Voloch
Updated over a month ago

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

Credentials are the Base64-encoded. Use the following authorization: RFRDbG91ZEFQSVVzZXI6MyNRdVkrMkR1QCV3Kk15JTU8Yi1aZzlV

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?