API Overview

Public API

We offer a free REST API as part of your licensing. You can use the API to get your data into your SIEM (security information and event management) system, such as Splunk or Power BI. Alternatively, you can offload the data into your own backend or integrate seamlessly into your ticketing system. You can read all data you can see in the portal and approve or deny requests through the API.

Pull (API) versus Push (Webhooks)

There are two ways for getting your data from Admin By Request into an external system. The most typical way to get data is for you to call our public API in interval to download data (pull from your side). You can also subscribe to webhooks (push from our side).

About the API

Authentication

All requests against the API must be authenticated via your API key. Send the key as a header field named "apikey" as shown in this image:

Quota

To prevent the Admin By Request API from being flooded with requests, a daily quota of 100,000 API calls is in place. If your tenant exceeds this quota, it will automatically be blocked from accessing the API until the next business day.

Data Centers

In order to interact with the API, you need to know which data center your tenant is using. The API URL of the data center determines the prefix you need for constructing the URL with which you call the API.

Go to Settings > Tenant Settings > Data > API Keys in the portal and check which API prefix is shown under About API Keys:

The data center API URL (also known as the API prefix) will be one of the following:

  • https://dc1api.adminbyrequest.com (Europe - Netherlands)

  • https://dc2api.adminbyrequest.com (US East)

  • https://dc3api.adminbyrequest.com (UK)

  • https://dc4api.adminbyrequest.com (Europe - Germany)

  • https://dc5api.adminbyrequest.com (US West)

  • https://dc6api.adminbyrequest.com (Asia)

Make a note of your prefix - you will need it when you access the API.

Integrating with an External System

If you need to pass on the requests queue to an external system and approve or deny requests from there, Admin By Request has native apps for various systems, so you might want to check whether one is available for your system. If not, you can always use the API directly to access your data.

The following APIs are available from Admin By Request:

Using the API

Prerequisites

To follow the tasks described below, you will need the following:

  • A REST client of your choice. The examples shown below were created with Postman.

  • The location of your data center

Also note that all requests must be authenticated using your API key. Select one of the available methods for passing the key.

API Tasks

The following tasks are covered in this section:

Questions?

Feel free to ask any questions you might have. If you do not have a direct contact at Admin By Request, contact us with any questions you might have, or submit a support ticket.