Adding Integration Unique Identifier
To set up an integration with Dotcom-Monitor you must have access to an active Dotcom-Monitor account and create a Web API Unique Identifier to use in the authentication request:
- Log in to the Dotcom-Monitor account.
- In Dotcom-Monitor, create an integration UID under Configure > Integrations > Add Integration > Web API.
- Whitelist IPs as described in the How to Whitelist IPs for Web API Access article of our wiki.
- Optional: If the master account contains Departments and you want to access and send requests to the API of a specific Department, in the Add Integration window, select Allow access to department’s data.
- Click Create Integration and copy the Web API Unique Identifier from the Integration UIDs list to clipboard (Web API (with access to department’s data) in the case of Department access).
Authentication
Request URL
POST | https://api.dotcom-monitor.com/config_api_v1/login |
When you login to your account via the “/login” call, a new client session begins. Sessions expire automatically after a predetermined length of inactivity. The default is 1 minute. If you make an API call, the inactivity timer is reset to zero.
When your session expires, the exception HTTP error code “401 – Unauthorized” is returned. If this happens, you must re-login again.
After authorization, client is being identified by cookie, so make sure cookies are enabled.
POST Content
Use Web API Unique Identifier as the UID parameter value (Configure > Integrations > Add Integration > Web API).
{ "UID":"1423e214d153d123123" }
Success Response
{ "Success":true, "Result":"OK" }