Alerts

postAlerts

POST
/alerts

Create an Alert resource, which represents a particular event notification delivered to a user. You can invoke alerts by setting up triggers in an AlertTriggers resource and specify the delivery method through an alertActions resource. Alert Actions represent particular instances of an Alert sent out through specific channels, such as SMS, mobile application notifications, or email. Each Alert Action is associated with an Alert resource.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Create Alert Configuration Request

Create Alert Configuration Request

login*string

The Login that owns this resource.

forlogin?string

The identifier of the Login that this Alert relates to. The Alert is triggered based on the activity of this Login.

team?|

The identifier (ID) of the team that this Alert relates to. The Alert is triggered based on the activity of this Team.

division?string

The division for which this Alerts applies.

partition?string

The partition for which this Alerts applies.

name?string

The name of this Alert. This field is stored as a text string and must be between 1 and 100 characters long.

description?string

Description of Alerts.

alertActions?array<>
alertTriggers?array<>
inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X POST "https://example.com/alerts" \  -H "Content-Type: application/json" \  -d '{    "login": "t1_log_61f2efc258eb7bf6d380000",    "forlogin": "t1_log_61f2efc258eb7bf6d380000",    "team": "t1_tem_67c202b908935b505104500",    "division": "t1_div_67c56806728fbbf0bae0z00",    "partition": "t1_ptn_666834d4d504f21414978f0",    "name": "williamson",    "description": "Used by the FrontDesk system to keep information up to date via webhook alerts",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_alt_67d1a66d3af03677cdc7db0",        "created": "2025-03-12 11:21:17.2576",        "modified": "2025-03-12 11:21:28.4944",        "creator": "t1_log_61f2efc258eb7bf6d380000",        "modifier": "t1_log_61f2efc258eb7bf6d380000",        "login": "t1_log_61f2efc258eb7bf6d380000",        "forlogin": "t1_log_61f2efc258eb7bf6d380000",        "team": "t1_tem_67c202b908935b505104500",        "name": "williamson",        "description": "Used by the FrontDesk system to keep information up to date via webhook alerts",        "inactive": 0,        "frozen": 0,        "division": "t1_div_67c56806728fbbf0bae0z00",        "partition": "t1_ptn_666834d4d504f21414978f0"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}