- 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
- Introduction
- Users
- Conversations
- Notifications
- Subunits Scopes
- 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
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
- Webhooks System
Introduction
User conversations access#
(and Message within them) that user participates in, in other words those that:
audience_ids
that user belongs touser_ids
that contain user's IDConversation model#
Example#
{
"conversation": {
"id": 1,
"author_id": "7db2c508-1758-4b84-bb68-50b5c8e1f458",
"audience_ids": [15],
"unseen_messages_count": 0,
"user_ids": ["7d503e59-18f2-4028-95fc-177fa25820c8"],
"created_at": "2022-05-10T09:01:27.415094Z",
"updated_at": "2022-05-10T09:01:27.415094Z"
}
}
Definition#
Key | Type | Readonly? | Mandatory? | Description |
---|---|---|---|---|
id | integer | yes | yes | |
author_id | UUID | yes | yes | IDs of user that started the conversation |
audience_ids | integer[] | no | no1 | Audience which members are participants of the conversation |
unseen_messages_count | integer | yes | no | count of user unseen messages in the conversation |
user_ids | UUID[] | no | no1 | IDs of users which are participants of the conversation |
created_at | datetime | yes | yes | Time of creation |
updated_at | datetime | yes | yes | Time of last update |
Message model#
Example#
{
"id": 3,
"author_id": "7db2c508-1758-4b84-bb68-50b5c8e1f458",
"content": "Hello *there*",
"seen": true,
"created_at": "2022-05-10T09:42:15.861021Z",
"updated_at": "2022-05-10T09:42:15.861021Z"
}
Definition#
Key | Type | Readonly? | Mandatory? | Description |
---|---|---|---|---|
id | integer | yes | yes | |
author_id | UUID | yes | yes | ID of user that sent the message |
content | string | no | yes | |
seen | boolean | yes | no | States whether the user has seen this message |
created_at | datetime | yes | yes | Time of creation |
updated_at | datetime | yes | yes | Time of last update |
Modified at 2024-04-22 22:18:14