Authentication

Using your credentials

When querying the API with an external script, you have to provide your login details using a “Basic authentication”, encoded using base64 in the headers of the calls, using the following format: email@email.com:password

Here’s the encoded version: ZW1haWxAZW1haWwuY29tOnBhc3N3b3Jk

Here’s the information to be passed in the API call header:

"Authorization: Basic ZW1haWxAZW1haWwuY29tOnBhc3N3b3Jk"

Using an API account

If you don’t have an AT Internet user account, you can still query the API by requesting an API account to the administrator.

Admins have the capacity to create API feeds with a specific parameter in the URL (&apikey=) to allow the connection.

Using an API-key (SSO organisations)

If your organisation is using SSO, API URLs in Data Query and Data Flow will change from https://apirest.atinternet-solutions.com to https://api.atinternet.io. This new endpoint cannot handle basic authentication described earlier, it requires the use of an API-key you can create in your profile page under the API-Key section. Please note the API-key will only be displayed once in our solutions for security reasons. This API-key can be used as a query string or as a request header.