Paginated API to fetch logs for notifications
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
To filter based on the ID of message or reply.
To filter based on the ID of the reaction added.
To get the logs for messages that are sent after the mentioned timestamp in milliseconds.
To get the logs for messages that are sent after the mentioned timestamp in milliseconds.
To filter logs based on the category of the message or reply. Values can be message, interactive.
message
, interactive
To filter logs based on the type of the message or reply. Values are based on the message category.
To filter based on the trigger value of the event that is responsible for triggering the notification. For a message or a reply, the value of this field is after_message. For message actions, the values are message_deleted or message_edited or message_reaction_added. For default calling feature, the values are initiated, rejected, cancelled, unanswered. For group events, the values are: after_group_joined, after_group_left, after_group_members_added, after_group_members_kicked, after_group_members_banned, after_group_members_unbanned, after_scope_changed.
after_message
, message_deleted
, message_edited
, message_reaction_added
, initiated
, rejected
, cancelled
, unanswered
, after_group_joined
, after_group_left
, after_group_members_added
, after_group_members_kicked
, after_group_members_banned
, after_group_members_unbanned
, after_scope_changed
To filter based on the sender of the message. This has to be uid.
To filter based on the user who reacted on a message.
To filter based on the receiver of a message. This can be uid or guid based on the receiverType.
To filter based on the receiver's type. The value of this field can be user or group.
user
, group
To filter based on the user who is notified when a reaction is added.
To filter based on the user who is notified in a given group. This is only present when the receiverType is group.
To filter based on whether the user was notified using push, email or sms notification.
push
, email
, sms
To filter based on the provider. For channel as push, the value of this field can be fcm, apns, custom. For channel as email, the value of this field can be sendgrid or custom. For channel as sms, the value of this field can be twilio or custom.
fcm
, apns
, sendgrid
, twilio
, custom
The value is true when the notification provider is triggered. If false, the notification was not triggered due to some preference that is mentioned in the reason field.
Available only when the value of notificationTriggered is false. This contains the reason for not triggering the notification provider.
To filter logs using reason, use the following values: MESSAGES_PREFERENCE, REPLIES_PREFERENCE, MESSAGE_ACTIONS_PREFERENCE, REACTIONS_PREFERENCE, GROUP_ACTIONS_PREFERENCE, DND_PREFERENCE, MUTE_PREFERENCE, SCHEDULE_PREFERENCE, CALL_PREFERENCE, QUOTA_PREFERENCE, MISSING_EMAIL, MISSING_PHNO, INVALID_PUSH_PROVIDER_ID, TIMED_OUT, NOT_FOUND, TWILIO_CREATE_ERROR.
MESSAGES_PREFERENCE
, REPLIES_PREFERENCE
, MESSAGE_ACTIONS_PREFERENCE
, REACTIONS_PREFERENCE
, GROUP_ACTIONS_PREFERENCE
, DND_PREFERENCE
, MUTE_PREFERENCE
, SCHEDULE_PREFERENCE
, CALL_PREFERENCE
, QUOTA_PREFERENCE
, MISSING_EMAIL
, MISSING_PHNO
, INVALID_PUSH_PROVIDER_ID
, TIMED_OUT
, NOT_FOUND
, TWILIO_CREATE_ERROR
Available only when the value of notificationTriggered is true.
To filter based on whether the HTTP request to the provider was successful or not, true indicating that the provider returned success while false indicating that the provider returned an error.
To paginate over logs use the value of affix as prepend or append.
prepend
, append
To be used with affix for pagination.
A list of push notification's email custom provider
The response is of type object
.