- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Branding
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- SMS Sender Identities
- Member Authentication Configuration
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Messages
- 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
- 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
- Detect Receipt Fraud
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Introduction
Program model#
Example#
{
"id": 4,
"type": null,
"name": { "en": "Program 1" },
"description": { "en": "Program 1" },
"terms_and_conditions": { "en": "Lorem Ipsum" },
"joinable_by_member": true,
"leavable_by_member": true,
"registration_message_id": 423,
"members_group_id": 11,
"members_count": 15,
"created_at": "2022-07-14T19:59:34.721853Z",
"updated_at": "2022-07-14T20:02:43.067472Z",
"subscription_target_url: "https://url.com"
}
Definition#
Key | Type | Static? | Required? | Default | Description |
---|---|---|---|---|---|
id | integer | yes | yes | ||
type | enum: ['newsletter'] | no | no | ||
name | LocalizedContent | no | yes | ||
description | LocalizedContent | no | no | ||
terms_and_conditions | LocalizedContent | no | no | ||
leavable_by_member | boolean | no | no | true | Can member leave the program by himself? |
leavable_by_member | boolean | no | no | true | Can member leave the program by himself? |
registration_message_id | integer | no | no | ID of Message that should be sent during registration | |
members_group_id | integer | yes | yes | ID of Member group associated with the program | |
members_count | integer | yes | yes | Number of members in a program ([group]) | |
created_at | datetime | yes | yes | ||
updated_at | datetime | yes | yes | ||
subscription_program_url | string | no | no | The url on which redirection will be made after program registration |