send_notification
imerit_ango.sdk.SDK.
send_notification(receivers, message, title=None)
Send an in-app announcement to specific members of your organization.
The API key must belong to an organization administrator. Recipients must be members of the organization associated with the API key.
Parameters
receivers: List[str]
Email addresses of the members who should receive the notification.
You can include up to 100 unique addresses.
You cannot send a notification only to yourself.
message: str
The notification message. Maximum length: 1000 characters.
title: str, Optional, Default None
A title for the notification. Maximum length: 200 characters.
Returns:
output: dict
A dictionary containing a
statusfield and the created notification indata.notification.
Example
Last updated