AnnA Active Notification
AnnA Active Notification is a resource that makes possible for you to send notifications through WhatsApp to a batch of phone numbers.
Using AnnaTemplate class
This class will provide you a simple way to send active notifications to your clients
Send notifications
What you will need:
- Base URL of your AnnA environment
- Company hash
- Encryption and decryption key
- Template name
- Template namespace
- List of phone numbers
Optionally you can set:
- List with the values of variables from the template if your template has any
- List with parameters for the template if your template has any
- Delivery date when you want or need to schedule the notification
- Reference to any notes about this notification
Get notification data
When sending notifications with ReturnMode as RESUME, the response will be a RequestID that you can use to get the notification data.
This service will return information about the number of notifications sent, processed and processing.
What you will need:
- Base URL of your AnnA environment
- Company hash
- Encryption and decryption key
- RequestID
GetNotificationData Response
The response will be a JSON with the following structure:
- Possible values for base RequestStatus:
- CANCELED
- QUEUED
- PROCESSED
- PROCESSING
- Possible values for RequestResult Status:
- canceled
- waiting
- sent
- delivered
- failed