👋 How can we help you?

Using API Keys to access data in AbuseHQ

You can create and manage API Keys in AbuseHQ. (Settings - API Keys) Those API keys can be used to access the HTTP resources of AbuseHQ.

Overview

You can create and manage API Keys in AbuseHQ. Those API keys can be used to access HTTP resources of AbuseHQ. We are using standard JSON Web Tokens (JWTs). Authentication is done by adding the token in an authorization header to the HTTP request. The header should look like the following line; just replace it with the API Key created in AbuseHQ.

Auth Header

Authorization: Bearer <token>

 

The following is an example of how to use the API in python with the popular requests library:

 
import requests
import json
headers = {
    'Authorization': 'Bearer <API-KEY>',
    'Content-Type': 'application/json',
}
url = 'https://<YOURNAME>.abusehq.net/api/v1/networks/tags'
response = requests.request('GET', url, headers=headers)
print(response.text)

The API documentation can be found here: https://YOUR_INSTANCE_NAME.abusehq.net/api/v1/docs/

If you have any questions, ideas, or remarks, please feel free to reach out to us.

 

Send us a message

Having trouble with your setup or a technical issue? Get in touch with our team of Abusix experts.

Click the chat button at the bottom and send us your questions. Alternatively, you can email us at support@abusix.com

 

also, follow our LinkedIn Channel for updates & subscribe to our YouTube Channel for the latest Abusix how-to-videos.

Did this answer your question?
😞
😐
🤩