Topics in IMIconenct are introduced for broadcasting messages to your app users on in-app and push messaging channels. Topics are typically used to categorize and collate the app user preferences and interests. These can be direct customer opt-ins or based on customer behavior over time. The Topics are unique for an appid on IMIconnect and are categorized into multiple groups. The SDK and API endpoints can be used for topics management if a particular appid and/or a particular app user.
A topic should be used as the destination in the messaging API request to broadcast messages to all the subscribed app users. The destination can be a single topic id or a conditional expression of topic ids. The available operators are UNION or OR (use ||), INTERSECTION or AND ( use & ), COMPLEMENT or NOT (use ' ) and DIFFERENCE or MINUS (use - ).
- Create a topic
- Delete a topic
- List a topic
- Get topics per app id
- Subscribe
- Get All Subscribers of a topic
- Get All Topics
- Unsubscribe User from Topic
Error Codes
Description | Error code |
---|---|
Internal error while processing the request | 1 |
Topic already exists | 2 |
Required Attributes Missing | 3 |
invalid request | 4 |
Appid/Topic does not exist | 5 |
UserId is not exist | 7 |
Secret key is missing in header | 11 |
AppId is required | 14 |
secretkey is invalid | 26 |
Stream not found for given appId and userId | 31 |