REST API
The REST API is allows you to integrate Alerts.boo into your apps & workflows. To start building with Alerts.boo, create an account at https://app.alerts.boo
Directory
You can also experiment with the code in our interactive Codepen Collection
We recommend using JSON Hero to view the sample objects
Visit on Web - https://app.alerts.boo/settings
Sent to your webhook
Types reference for objects - Watcher, Log, User
GET /watchers/:watcherID
POST /watchers/list
POST /watchers/create
POST /watchers/:watcherID/update
POST /watchers/:watcherID/logs/list
GET /logs/:logID
GET /users/:userID
POST /users/:userID/rotate-token
POST /billing/:userID/topup-credits
Get your API Key in the Settings Page
Be careful with your API Key! Anyone who has it can control your account. If your API key has been leaked, immediately rotate it.
Authentication
Alert Payload
Coming soon
Types Schema
π View Sample Object
π View Sample Object
π View Sample Object
Get Watcher
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
List Watchers
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
status
enum
Optional. Filter by watcher status. Options are Active , Awaiting, Pending, Paused, Problem, Insufficient Funds . Leave blank for all.
platform
enum
Optional. Filter by platform. Options are Instagram or Twitter
slug
string
Optional. Search by exact username match, case insensitive.
limit
number
Optional. Limit the search results. Default is 20, max is 100
cursor
WatcherID
Optional Pagination. The string ID of the last Watcher of your previous query.
customDataUID
string
Optional. A string field indexed for you to use as a custom searchable ID (eg. your users). Max 256 chars.
Create Watcher
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
url
string
Required. The url of your watchers source. For example, a pages' Instagram profile URL.
webhookUrl
string
Optional. The url of your webhook that will recieve alerts. Use empty string to remove webhook.
filterPrompt
string
Optional. The prompt for the Ai use as filter criteria. Determines if you get alerted. Max 2000 chars. Use empty string to remove filter criteria.
alias
string
Optional. A human friendly name to identify your watcher. Max 256 chars.
autoExpireMs
number
Optional. Watchers can auto-expire if it hasn't seen any activity in milliseconds. Defaults to 3 months. Min 1 hour, Max 10 years.
note
string
Optional. A private note only you can see. Max 10k chars.
customData.uid
string
Optional. A string field indexed for you to use as a custom searchable ID (eg. your users). Max 256 chars.
customData.data
string
Optional. A string serialized object for any additional data you want to store. Max 100kb or 100k chars.
Update Watcher
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
status
enum
Optional. Set watcher status to Active or Paused or Inactive (Be careful with Inactive as it is equal to a deletion and cannot be undone).
webhookUrl
string
Optional. The url of your webhook that will recieve alerts. Use empty string to remove webhook.
filterPrompt
string
Optional. The prompt for the Ai use as filter criteria. Determines if you get alerted. Max 2000 chars. Use empty string to remove filter criteria.
note
string
Optional. A private note only you can see. Max 10k chars.
alias
string
Optional. A human friendly name to identify your watcher. Max 256 chars.
autoExpireMs
number
Optional. Watchers can auto-expire if it hasn't seen any activity in milliseconds. Defaults to 3 months. Min 1 hour, Max 10 years.
customData.uid
string
Optional. A string field indexed for you to use as a custom searchable ID (eg. your users). Max 256 chars.
customData.data
string
Optional. A string serialized object for any additional data you want to store. Max 100kb or 100k chars.
List Logs
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
limit
number
Optional. Limit the search results. Default is 20, max is 100
cursor
LogID
Optional Pagination. The string ID of the last Log of your previous query.
Get Log
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
My Profile
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
Rotate API Key
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
Buy Credits
Click "Run Pen" and "JS" button for the interactive code Recommended to open in new tab (click Edit on Codepen)
amount
number
Required. The amount of credits you would like to buy as a one-time purchase. Min 20 credits, Max 40k credits.
Rate Limits
There are 3 rate limits for the REST API. Contact us if you need more.
1 per 3 seconds
POST /billing/:userID/topup-credits POST /users/:userID/rotate-token
3 per 3 seconds
POST /watchers/list POST /watchers/:watcherID/logs/list
10 per 3 seconds
Everything Else
Last updated
