- Overview
- Introduction
- Hosts
- Global Headers
- Common HTTP Error Codes
- API Permits
- Authorization
- API Contexts
- Common Concepts
- Common Models
- 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
- Tenant API
- Messaging API
- Introduction
- Models
- Messages
- Sendings
- Templates
- Settings
- Sender Identities
- Messaging History
- 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
Recipient model
member_id
) or an arbitrary sending receivers - msisdn
, email
or push
.Example#
{
"member_id": 150,
"msisdn": "4740769126",
"email": "recipient@example.com",
"app_token": "c6OE_joK28g:APA91bFkT5fzhdWJMJswPo3btVLxtMmhi7jKdOE_VL1IhkSmuoz3iEQMg4Cq",
"properties": { "first_name": "Piotr" }
}
Definition#
Key | Type | Description |
---|---|---|
member_id | integer | ID of MPC member |
msisdn | MSISDN | |
app_token | ||
properties | Object | Arbitrary keys that can be used as merge-tags in the message template |
MPC member recipient#
member_id
is provided, other identifiers will be ignored and actual identifiers for sending execution willbe fetched from MPC member's data (for example, for
sms
channel member's msisdn
will be used as a sending receiver).properties
.Arbitrary identifier recipient#
member_id
, at least one identifier relevant to message's channels definition is required.sms
and email
channels are defined on message, msisdn
or email
is required.properties
will be used as template's merge-tags.Dispatch member model#
Example#
{
"id": 173,
"type": "sms",
"msisdn": null,
"email": null,
"app_tokens": ["token_1", "token_2"]
}
Key | Type | Description |
---|---|---|
id | integer | Member id |
type | enum: ['sms', 'email', 'push'] | |
msisdn | string | |
string | ||
app_tokens | array | array of app_tokens |
Modified at 2024-04-22 22:18:17