The RBLTracker API is a simple web-service API, which lets customers poll our system for the current list of Hosts, Contacts, and listed Hosts, as well as manage your Hosts and Contacts.
The PHP SDK can be installed via composer:
composer require rbltracker/sdk
Or the source code can be downloaded directly from the GitHub repository.
The PHP SDK requires:
The Node.js SDK can be installed via npm:
npm install rbltracker
Or the source code can be downloaded directly from the GitHub repository.
The Python SDK can be installed via pip:
pip install rbltracker
Or the source code can be downloaded directly from the GitHub repository.
The Python SDK supports Python version 2.6 / 2.7 / 3.2 / 3.3.
These features let you start a manual, real-time check against a Host value on your account, or to a one-off IP address or domain.
Starts a manual check for a provided Host.
This process is asynchronous, in that it returns right away, returning a check id that you may use to poll for subsequent updates. This is done because a full RBL check may take some time to process, and this avoids blocking the API response.
| host required | string The host value; either an IP address, domain name, or host SID (to use an existing host). |
| callback | string <uri> An HTTP callback URL that we will post to once the check request completes. |
| details | integer Default: 0 Enum: 0 1 A flag indicating if the RBL details should be returned with the response. Either 1 or 0 defaults to 0. |
curl https://api.rbltracker.com/3.0/check/start.json \ -u 'your_account_sid:your_auth_token' \ -d host='10.10.10.11' \ -d callback='https://your.website.com/callback.php' \ -d details=1
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "id": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "rbls": [
- {
- "id": "RB18c470cc518a09678bb280960dbdd524",
- "type": "rbl",
- "custom": 0,
- "host": "b.barracudacentral.org",
}
]
}
}{- "event_sid": "EV9dbf5e2f7e924418a6d6b483a584adcf",
- "event_type": "rbl.host.check.completed",
- "event_date": "2025-12-22T23:43:52+00:00",
- "check_sid": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "host": {
- "sid": "HT1b8ed8a3938fbeaedddd97eeaa3bf4ca",
- "name": "Production Mail Server",
- "host": "11.11.11.11"
}, - "listed": true,
- "total": 1,
- "details": [
- {
- "sid": "RB18c470cc518a09678bb280960dbdd524",
- "host": "spam.dnsbl.sorbs.net",
- "details": "Spam Received See: http://www.sorbs.net/lookup.shtml?10.10.10.10"
}
]
}Gets the status of a previously started manual check.
You can use the check id returned from /3.0/check/start to poll for check status in real-time.
| id required | string^PP[0-9a-fA-F]{64}$ Example: id=PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a Check id returned from /check/start. |
| details | integer Default: 0 Enum: 0 1 A flag indicating if the RBL details should be returned with the response. Either 1 or 0 defaults to 0. |
curl -G https://api.rbltracker.com/3.0/check/status/{id}.json?details=1 \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "status": "processing",
- "checked_count": 10,
- "listed": 0,
- "listed_count": 2,
- "listed_details": [
- {
- "rbl": "RB18c470cc518a09678bb280960dbdd524",
- "details": "Spam Received See: http://www.sorbs.net/lookup.shtml?10.10.10.10",
- "listed": 0,
- "response_time": 22.34
}
]
}
}Return a full list of all the hosts that are currently listed on one or more data sources.
This data mirrors the response returned by the /3.0/hosts API request. The only difference, is the /3.0/listings request only returns hosts that are currently listed, instead of all hosts.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/listings.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_hosts": 1,
- "total_listed": 1,
- "data": [
- {
- "id": "HTee06c4fa7c23aa8a3a4e8d66922b0834",
- "host": "10.10.10.10",
- "name": "Primary Mail Server",
- "type": "rbl ",
- "parent": "HTe092d4858135fad83dc938618a4ebfbe",
- "status": "active",
- "rbl_profile": "RP15d4e891d784977cacbfcbb00c48f133",
- "contact_group": "CG37106c6baa1ec90a2b3f5c8ec54afe9d",
- "last_checked": "2016-11-07 21:01:50 EST",
- "first_listed": "2016-11-07 21:01:50 EST",
- "listed_period": "1 day 11:36:40",
- "listed": 1,
- "listed_count": 1,
- "listed_details": [
- {
- "host": "spam.dnsbl.sorbs.net",
- "details": "Spam Received See: http://www.sorbs.net/lookup.shtml?10.10.10.10"
}
]
}
]
}Returns a full list of Hosts on your account.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/hosts.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_hosts": 1,
- "total_listed": 1,
- "data": [
- {
- "id": "HTee06c4fa7c23aa8a3a4e8d66922b0834",
- "host": "10.10.10.10",
- "name": "Primary Mail Server",
- "type": "rbl ",
- "parent": "HTe092d4858135fad83dc938618a4ebfbe",
- "status": "active",
- "rbl_profile": "RP15d4e891d784977cacbfcbb00c48f133",
- "contact_group": "CG37106c6baa1ec90a2b3f5c8ec54afe9d",
- "last_checked": "2016-11-07 21:01:50 EST",
- "first_listed": "2016-11-07 21:01:50 EST",
- "listed_period": "1 day 11:36:40",
- "listed": 1,
- "listed_count": 1,
- "listed_details": [
- {
- "host": "spam.dnsbl.sorbs.net",
- "details": "Spam Received See: http://www.sorbs.net/lookup.shtml?10.10.10.10"
}
]
}
]
}Returns details for an individual host
| id required | string^HT[0-9a-fA-F]{32}$ Example: HTee06c4fa7c23aa8a3a4e8d66922b0834 Unique Host SID. |
curl -G https://api.rbltracker.com/3.0/host/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_hosts": 1,
- "total_listed": 1,
- "data": [
- {
- "id": "HTee06c4fa7c23aa8a3a4e8d66922b0834",
- "host": "10.10.10.10",
- "name": "Primary Mail Server",
- "type": "rbl ",
- "parent": "HTe092d4858135fad83dc938618a4ebfbe",
- "status": "active",
- "rbl_profile": "RP15d4e891d784977cacbfcbb00c48f133",
- "contact_group": "CG37106c6baa1ec90a2b3f5c8ec54afe9d",
- "last_checked": "2016-11-07 21:01:50 EST",
- "first_listed": "2016-11-07 21:01:50 EST",
- "listed_period": "1 day 11:36:40",
- "listed": 1,
- "listed_count": 1,
- "listed_details": [
- {
- "host": "spam.dnsbl.sorbs.net",
- "details": "Spam Received See: http://www.sorbs.net/lookup.shtml?10.10.10.10"
}
]
}
]
}Add a new host to your account.
When using the ip_range host type, or when adding hosts by subnet, multiple hosts may be added, and returned in the data response object.
| host required | string Host value (IP/domain/subnet) based on type. |
| name required | string Label for the Host. |
| type required | string Enum: "rbl " "uribl" "ip_range" Host type |
| rbl_profile | string^RP[0-9a-fA-F]{32}$ Monitoring Profile id to use on this Host. |
| contact_group | string^CG[0-9a-fA-F]{32}$ Contact Group id to use. |
curl https://api.rbltracker.com/3.0/host/add.json \ -u 'your_account_sid:your_auth_token' \ -d name='My New Host' \ -d host='10.10.10.11' \ -d type='rbl' \ -d rbl_profile='RP15d4e891d784977cacbfcbb00c48f133' \ -d contact_group='CG37106c6baa1ec90a2b3f5c8ec54afe9d'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": [
- {
- "id": "HTe092d4858135fad83dc938618a4ebfbf",
- "host": "10.10.10.10",
- "name": "Primary Mail Server",
- "parent": "HTe092d4858135fad83dc938618a4ebfbe"
}
]
}Modifies an existing host on your account.
| id required | string^HT[0-9a-fA-F]{32}$ Example: HTee06c4fa7c23aa8a3a4e8d66922b0834 Unique Host SID. |
| name | string The label for this Host. |
| rbl_profile | string^RP[0-9a-fA-F]{32}$ The unique SID of the Monitoring Profile to use for this Host. |
| contact_group | string A comma separated list of one or more Contact Group SIDs to use for this Host. |
curl https://api.rbltracker.com/3.0/host/update/{id}.json \ -u 'your_account_sid:your_auth_token' \ -d name='My New Host'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Pauses a Host, which temporarily stops all checks on this Host.
| id required | string^HT[0-9a-fA-F]{32}$ Example: HTee06c4fa7c23aa8a3a4e8d66922b0834 Unique Host SID. |
curl -X POST https://api.rbltracker.com/3.0/host/pause/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Re-activates a Host after it was paused. We will resume processing checks on this host.
| id required | string^HT[0-9a-fA-F]{32}$ Example: HTee06c4fa7c23aa8a3a4e8d66922b0834 Unique Host SID. |
curl -X POST https://api.rbltracker.com/3.0/host/resume/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Deletes an existing host on your account.
| id required | string^HT[0-9a-fA-F]{32}$ Example: HTee06c4fa7c23aa8a3a4e8d66922b0834 Unique Host SID. |
curl -X POST https://api.rbltracker.com/3.0/host/delete/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Returns a list of all Monitoring Profiles configured on your account.
Note: These features are only available to customers on a paid plan.
Returns a full list of RBL profiles on your account.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/rblprofiles.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_rbl_profiles": 1,
- "data": [
- {
- "id": "RP15d4e891d784977cacbfcbb00c48f133",
- "name": "Default Profile",
- "is_default": 0,
- "total_entries": 1,
- "total_hosts": 4,
- "entries": [
- "RBdbf3e492680ee6358a1a703d8b275aa7"
]
}
]
}Return details for a single Monitoring Profile.
| id required | string^RP[0-9a-fA-F]{32}$ Example: RP15d4e891d784977cacbfcbb00c48f133 The unique SID of the Monitoring Profile. |
curl -G https://api.rbltracker.com/3.0/rblprofile/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_rbl_profiles": 1,
- "data": [
- {
- "id": "RP15d4e891d784977cacbfcbb00c48f133",
- "name": "Default Profile",
- "is_default": 0,
- "total_entries": 1,
- "total_hosts": 4,
- "entries": [
- "RBdbf3e492680ee6358a1a703d8b275aa7"
]
}
]
}Add a new RBL profile to your account.
If the entries values omitted completely, then all the active default RBLs will be selected for this new profile. If the entries list is provided, but left empty, then no RBLs will be added to this profile.
| name required | string A label to use for this new profile. |
| is_default | integer Enum: 0 1 If this profile should be marked as default. |
| entries | string A comma separated list of RBL SIDs to use for this new profile. If not provided, the Montioring Profile will be configured to use our default set of data sources. |
curl https://api.rbltracker.com/3.0/rblprofile/add.json \ -u 'your_account_sid:your_auth_token" \ -d name="My RBL Profile" \ -d is_default="1" \ -d entries="RBdbf3e492680ee6358a1a703d8b275aa7,RBdb2c27a6f53401a6f64a939f74458fb0"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "id": "RP46e5998c00fe647c7d981a3110f28b6d"
}
}Modify an existing RBL profile.
| id required | string^RP[0-9a-fA-F]{32}$ Example: RP15d4e891d784977cacbfcbb00c48f133 The unique SID of the Monitoring Profile. |
| name | string A label to use for this new profile. |
| is_default | integer Enum: 0 1 If this profile should be marked as default. |
| entries | string A comma separated list of RBL SIDs to use for this new profile. |
curl https://api.rbltracker.com/3.0/rblprofile/update/{id}.json \ -u 'your_account_sid:your_auth_token" \ -d name="My RBL Profile" \ -d is_default="1" \ -d entries="RBdbf3e492680ee6358a1a703d8b275aa7,RBdb2c27a6f53401a6f64a939f74458fb0"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Delete an existing RBL profile.
If the default RBL profile is deleted, then another RBL profile will be chosen at random to become the default RBL profile.
You may not delete an RBL profile that is currently associated with a host, and you may not delete the last RBL profile. You must always have at least one.
| id required | string^RP[0-9a-fA-F]{32}$ Example: RP15d4e891d784977cacbfcbb00c48f133 The unique SID of the Monitoring Profile. |
curl -X POST https://api.rbltracker.com/3.0/rblprofile/delete/{id}.json \ -u 'your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Returns a list of all the active RBLs on the system, including custom RBLs that you've added.
Note: These features are only available to customers on a paid plan.
Return a full list of all the active RBLs on the system, including custom RBLs that you’ve added.
The custom RBL feature lets you add custom RBLs and URIBLs to your account, that we does not normally check. You can only add rbl and uribl types.
RBLs with the custom attribute set to 1 is a custom RBL that you’ve added. These custom RBLs can be managed via the API. System RBLs (where custom is set to 0) cannot be modified, and are effectively read-only RBLs.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/rbls.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_rbls": 10,
- "data": [
- {
- "id": "RB18c470cc518a09678bb280960dbdd524",
- "type": "rbl",
- "custom": 0,
- "host": "b.barracudacentral.org",
}
]
}Returns the details for a single RBL.
| id required | string^RB[0-9a-fA-F]{32}$ Example: RB18c470cc518a09678bb280960dbdd524 The unique SID of the Custom RBL. |
curl -G https://api.rbltracker.com/3.0/rbl/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_rbls": 1,
- "data": [
- {
- "id": "RB18c470cc518a09678bb280960dbdd524",
- "type": "rbl",
- "custom": 0,
- "host": "b.barracudacentral.org",
}
]
}Adds a new custom RBL to your account.
| type required | string Enum: "rbl" "uribl" The type of RBL |
| host required | string Hostname of the RBL. |
curl https://api.rbltracker.com/3.0/rbl/add.json \ -u "your_account_sid:your_auth_token" \ -d type="rbl" \ -d host="your.custom.rbl.com"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "id": "RBc82f6dc24db235cfad67a05a2c63351c"
}
}Modifies a custom RBL on your account.
| id required | string^RB[0-9a-fA-F]{32}$ Example: RB18c470cc518a09678bb280960dbdd524 The unique SID of the Custom RBL. |
| type | string Enum: "rbl" "uribl" The type of RBL |
| host | string Hostname of the RBL. |
curl https://api.rbltracker.com/3.0/rbl/update/{id}.json \ -u "your_account_sid:your_auth_token" \ -d type="rbl" \ -d host="your.custom.rbl.com"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Pauses a custom RBL entry. This temporarily stops checks using this custom RBL.
You may only pause custom RBLs- RBLs where the custom attribute is 1.
| id required | string^RB[0-9a-fA-F]{32}$ Example: RB18c470cc518a09678bb280960dbdd524 The unique SID of the Custom RBL. |
curl -X POST https://api.rbltracker.com/3.0/rbl/pause/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Re-activates a custom RBL that was previously paused. We will resume using this RBL for checks.
You may only re-activate custom RBLs- RBLs where the custom attribute is 1.
| id required | string^RB[0-9a-fA-F]{32}$ Example: RB18c470cc518a09678bb280960dbdd524 The unique SID of the Custom RBL. |
curl -X POST https://api.rbltracker.com/3.0/rbl/resume/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Delete a custom RBL from your account.
You may only delete custom RBLs- RBLs where the custom attribute is 1.
| id required | string^RB[0-9a-fA-F]{32}$ Example: RB18c470cc518a09678bb280960dbdd524 The unique SID of the Custom RBL. |
curl -X POST https://api.rbltracker.com/3.0/rbl/delete/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Returns a full list of contacts on your account.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/contacts.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_contacts": 10,
- "data": [
- {
- "id": "COc7d69f48da351273d71d431c3402a091",
- "type": "email",
- "status": "active",
- "schedule": "every_check",
- "contact": "info@rbltracker.com",
- "contact_group": [
- "CG37106c6baa1ec90a2b3f5c8ec54afe9d"
]
}
]
}Returns the details for a single contact.
| id required | string^CO[0-9a-fA-F]{32}$ Example: COc7d69f48da351273d71d431c3402a091 The unique SID of the Contact. |
curl -G https://api.rbltracker.com/3.0/contact/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_contacts": 1,
- "data": [
- {
- "id": "COc7d69f48da351273d71d431c3402a091",
- "type": "email",
- "status": "active",
- "schedule": "every_check",
- "contact": "info@rbltracker.com",
- "contact_group": [
- "CG37106c6baa1ec90a2b3f5c8ec54afe9d"
]
}
]
}Adds a new contact to your account.
| contact required | string The contact value (based on the type). |
| type required | string Enum: "email" "sms" "pushover" "pagerduty" "slack" "datadog" "discord" "telegram" "endpoint" "aws-sns" "aws-cloudwatch" The contact type. |
| schedule required | string Enum: "every_check" "start_and_end" "while_listed" The contact schedule. |
| contact_group | string A comma separated list of one or more Contact Groups SIDs to associated this Contact with. |
curl https://api.rbltracker.com/3.0/contact/add.json \ -u "your_account_sid:your_auth_token" \ -d contact="info@rbltracker.com" \ -d type="email" \ -d schedule="every_check" \ -d contact_group="CGd3dca251d33135e0a518d7c49b89dc61"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "id": "COd398ac1b87cecb7d48bc4b4c8da85e93",
- "contact": "info@rbltracker.com"
}
}Modifies an existing contact.
| id required | string^CO[0-9a-fA-F]{32}$ Example: COc7d69f48da351273d71d431c3402a091 The unique SID of the Contact. |
| schedule | string Enum: "every_check" "start_and_end" "while_listed" The contact schedule. |
| contact_group | string A comma separated list of one or more Contact Groups SIDs to associated this Contact with. |
curl https://api.rbltracker.com/3.0/contact/update/{id}.json \ -u "your_account_sid:your_auth_token" \ -d schedule="every_check" \ -d contact_group="CGd3dca251d33135e0a518d7c49b89dc61"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Pause a contact. This will temporarily stop notifications to this contact.
| id required | string^CO[0-9a-fA-F]{32}$ Example: COd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact. |
curl -X POST https://api.rbltracker.com/3.0/contact/pause/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Re-activate a contact after it was paused. We will resume sending notifications to this contact.
| id required | string^CO[0-9a-fA-F]{32}$ Example: COd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact. |
curl -X POST https://api.rbltracker.com/3.0/contact/resume/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}| id required | string^CO[0-9a-fA-F]{32}$ Example: COd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact. |
curl -X POST https://api.rbltracker.com/3.0/contact/resend/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Confirms a pending contact using a confirmation code.
| id required | string^CO[0-9a-fA-F]{32}$ Example: COc7d69f48da351273d71d431c3402a091 The unique SID of the Contact. |
| authcode required | string Confirmation token delivered to the Contact. |
curl https://api.rbltracker.com/3.0/contact/confirm/{id}.json \ -d authcode="3Kx3se" \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}| id required | string^CO[0-9a-fA-F]{32}$ Example: COc7d69f48da351273d71d431c3402a091 The unique SID of the Contact. |
curl -X POST https://api.rbltracker.com/3.0/contact/delete/{id}.json \ -u "your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Returns a full list of contact groups on your account.
The is_default flag defines which contact group is marked as default. The default contact group is used on new hosts and contacts when a contact group ID is omitted.
Only one contact group can be marked a default. If you add a new contact group, or update an existing contact group, and set is_default to 1, then any existing default contact group will no longer be set as default.
| page | integer >= 1 Default: 1 The current page number. |
| page_size | integer >= 1 Default: 20 Entries per page. |
curl -G https://api.rbltracker.com/3.0/contactgroups.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_contact_groups": 1,
- "data": [
- {
- "id": "CGd3dca251d33135e0a518d7c49b89dc61",
- "name": "Default Contact Group",
- "is_default": 0,
- "total_members": 10,
- "total_hosts": 25
}
]
}Return details for a single Contact Group, based on the SID passed.
| id required | string^CG[0-9a-fA-F]{32}$ Example: CGd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact Group. |
curl -G https://api.rbltracker.com/3.0/contactgroup/{id}.json \ -u 'your_account_sid:your_auth_token'
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "page": 1,
- "total_pages": 1,
- "page_size": 20,
- "total_contact_groups": 1,
- "data": [
- {
- "id": "CGd3dca251d33135e0a518d7c49b89dc61",
- "name": "Default Contact Group",
- "is_default": 0,
- "total_members": 10,
- "total_hosts": 25
}
]
}Add a new contact group to your account.
| name required | string The label of the new Contact Group. |
| is_default | integer Enum: 0 1 Mark this group as the default Contact Group |
curl https://api.rbltracker.com/3.0/contactgroup/add.json \ -u 'your_account_sid:your_auth_token" \ -d name="My Contact Group" \ -d is_default="1"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6",
- "data": {
- "id": "CGd3dca251d33135e0a518d7c49b89dc61"
}
}Modify an existing contact group.
| id required | string^CG[0-9a-fA-F]{32}$ Example: CGd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact Group. |
| name | string The label for this Contact Group. |
| is_default | integer Enum: 0 1 Mark this group as the default Contact Group |
curl https://api.rbltracker.com/3.0/contactgroup/update/{id}.json \ -u 'your_account_sid:your_auth_token" \ -d name="My Contact Group" \ -d is_default="1"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Delete an existing contact group.
If the default contact group is deleted, then another contact group will be chosen at random to become the default Contact Group.
You may not delete a Contact Group that is currently associated with a Contact or a Host, and you may not delete the last Contact Group; you must always have at least one.
| id required | string^CG[0-9a-fA-F]{32}$ Example: CGd3dca251d33135e0a518d7c49b89dc61 The unique SID of the Contact Group. |
curl -X POST https://api.rbltracker.com/3.0/contactgroup/delete/{id}.json \ -u 'your_account_sid:your_auth_token"
{- "status_code": 200,
- "status_message": "OK",
- "version": "3.6"
}Triggered at the start of a check, when one of your hosts is checked.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| check_sid required | string^PP[0-9a-fA-F]{64}$ The unique SID of the check request. |
required | object A standard Host object. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "rbl.host.check.started",
- "event_date": "2025-12-29T18:30:27+00:00",
- "check_sid": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "host": {
- "sid": "HTd6e9a7963d99482fbf00ce5d100a1de3",
- "name": "Primary Mail Server",
- "host": "10.10.10.10"
}
}Triggered at the end of a check, when one of your hosts is checked. This event is trigger whether or not the host is listed.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| check_sid required | string^PP[0-9a-fA-F]{64}$ The unique SID of the check request. |
required | object A standard Host object. |
| listed required | boolean If the Host is listed or not. |
| total required | integer Default: 0 The total number of data sources this Host is currently listed on. |
required | Array of objects (webhook_rbl_details) An array of data sources that matched this Host. This can be empty if there were no matches. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "rbl.host.check.completed",
- "event_date": "2025-12-29T18:30:27+00:00",
- "check_sid": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "host": {
- "sid": "HTd6e9a7963d99482fbf00ce5d100a1de3",
- "name": "Primary Mail Server",
- "host": "10.10.10.10"
}, - "listed": true,
- "total": 1,
- "details": [
- {
- "sid": "RBa357bc5d6d79095af5ad8578ec5c1584",
- "host": "Project Honey Pot",
- "details": "Last Activity: 0 days, Threat Score: 29/255, Visitor Type: Search Engine - https://www.projecthoneypot.org/ip_1.1.1.1"
}
]
}Triggered at the end of a check, when one of your hosts is listed. This event is only triggered in the event the host is listed.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| check_sid required | string^PP[0-9a-fA-F]{64}$ The unique SID of the check request. |
required | object A standard Host object. |
| listed required | boolean If the Host is listed or not. This will always be true for this event. |
| total required | integer Default: 0 The total number of data sources this Host is currently listed on. |
required | Array of objects (webhook_rbl_details) An array of data sources that matched this Host. This can be empty if there were no matches. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "rbl.host.listed",
- "event_date": "2025-12-29T18:30:27+00:00",
- "check_sid": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "host": {
- "sid": "HTd6e9a7963d99482fbf00ce5d100a1de3",
- "name": "Primary Mail Server",
- "host": "10.10.10.10"
}, - "listed": true,
- "total": 1,
- "details": [
- {
- "sid": "RBa357bc5d6d79095af5ad8578ec5c1584",
- "host": "Project Honey Pot",
- "details": "Last Activity: 0 days, Threat Score: 29/255, Visitor Type: Search Engine - https://www.projecthoneypot.org/ip_1.1.1.1"
}
]
}Triggered at the end of a check, when one of your hosts is de-listed. This event will only trigger in the event the host is de-listed.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| check_sid required | string^PP[0-9a-fA-F]{64}$ The unique SID of the check request. |
required | object A standard Host object. |
| listed required | boolean If the Host is listed or not. This will always be false for this event. |
| total required | integer Default: 0 The total number of data sources this Host is currently listed on. This will always be 0 for this event. |
| details required | Array of arrays An array of data sources that matched this Host. This will always be empty for this event. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "rbl.host.delisted",
- "event_date": "2025-12-29T18:30:27+00:00",
- "check_sid": "PPf93d71a4a9892defde3ce995b141391dbbb95dcb000279fe51f4191f8bf41e1a",
- "host": {
- "sid": "HTd6e9a7963d99482fbf00ce5d100a1de3",
- "name": "Primary Mail Server",
- "host": "10.10.10.10"
}, - "listed": false,
- "total": 0,
- "details": [ ]
}Triggered when your account balance goes below your configured alert threshold.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| balance required | string Your current account balance (in USD). |
| alert_threshold required | string Your configured low-balance alert threshold (in USD). |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "billing.balance.alert",
- "event_date": "2025-12-29T18:30:27+00:00",
- "balance": "12.34",
- "alert_threshold": "15.00"
}Triggered when an auto-recharge is successful.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| falls_below required | string The currently configured auto-recharge threshold (in USD). |
| recharge_to required | string The currently configured auto-recharge amount (in USD). |
required | object Payment details related to this auto-recharge event. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "billing.recharge.success",
- "event_date": "2025-12-29T18:30:27+00:00",
- "falls_below": "5.00",
- "recharge_to": "25.00",
- "payment": {
- "sid": "PAa357bc5d6d79095af5ad8578ec5c1584",
- "amount": "25.00",
- "status": "Approved",
- "details": "Credit Card - (xxxx xxxx xxxx 0005) #3RgEZcGBRhmtuYiT0bJxifk1"
}
}Triggered when an auto-recharge attempt fails.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
| falls_below required | string The currently configured auto-recharge threshold (in USD). |
| recharge_to required | string The currently configured auto-recharge amount (in USD). |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "billing.recharge.failed",
- "event_date": "2025-12-29T18:30:27+00:00",
- "falls_below": "5.00",
- "recharge_to": "25.00"
}Triggered when your billing package is set to auto-renew, and the auto-renewal process completes successfully.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
required | object The plan object that was just renewed. |
required | object Payment details related to this plan auto-renewal event. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "billing.renewal.success",
- "event_date": "2025-12-29T18:30:27+00:00",
- "plan": {
- "name": "Professional",
- "period": "6 Months",
- "expires": "2025-10-31",
- "auto_renew_enabled": true
}, - "payment": {
- "sid": "PAa357bc5d6d79095af5ad8578ec5c1584",
- "amount": "25.00",
- "status": "Approved",
- "details": "Credit Card - (xxxx xxxx xxxx 0005) #3RgEZcGBRhmtuYiT0bJxifk1"
}
}Triggered when your billing package is set to auto-renew, but the auto-renewal process attempt fails.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
required | object The plan object of the auto-renewal attempt. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "billing.renewal.failed",
- "event_date": "2025-12-29T18:30:27+00:00",
- "plan": {
- "name": "Professional",
- "period": "6 Months",
- "expires": "2025-10-31",
- "auto_renew_enabled": true
}
}Triggered when one of your credit cards is about to expire.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
required | object The payment source object that is expiring. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "expiring.card.alert",
- "event_date": "2025-12-29T18:30:27+00:00",
- "payment_source": {
- "sid": "PSa357bc5d6d79095af5ad8578ec5c1584",
- "type": "American Express",
- "details": "xxxx xxxx xxxx 0005",
- "expires": "2025-10-31"
}
}Triggered when your billing package is set to expire and auto-renewal is disabled.
| event_sid required | string^EV[0-9a-fA-F]{32}$ The unique SID of the event. |
| event_type required | string The event type indicator. |
| event_date required | string <date-time> The date the event was triggered in GMT. |
required | object The plan object that is expiring. |
{- "event_sid": "EV67bca97cf42743beac24264790faf6dd",
- "event_type": "expiring.plan.alert",
- "event_date": "2025-12-29T18:30:27+00:00",
- "plan": {
- "name": "Professional",
- "period": "6 Months",
- "expires": "2025-10-31",
- "auto_renew_enabled": false
}
}