- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Introduction
- Settings
- ABM Links
- Members
- Issues
- Articles
- Articles Categories
- Documents
- Resource Types
- Resources
- Revenue Reporting
- Alerts
- Alert Templates
- Footfall Reporting
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Introduction
Alert model#
Example#
{
"id": 10,
"audience_id": 572,
"type": "Fire alert",
"state": "pending",
"message": "Fire has broke out",
"location": "Parking",
"created_at": "2021-05-14T09:26:14.823Z",
"updated_at": "2021-05-14T09:26:14.823Z"
}
Definition#
Key | Type | Optional | Description |
---|---|---|---|
id | integer | no | |
audience_id | integer | no | Audience the alert is sent to |
type | string | no | One of available alert types |
state | enum: ['pending', 'accepted', 'rejected'] | no | |
message | string | no | Content of message sent to recipients |
location | string | yes | |
created_at | datetime | no | Time of creation |
updated_at | datetime | no | Time of last update |
AlertPayload model#
Key | Type | Description |
---|---|---|
audience_id | integer[] | ID of audience that should receive the alert |
type | string | Must match available alert types |
message | string | Content of message sent to recipients |
location | string |
Modified at 2024-04-22 22:13:56