Documentation Index
Fetch the complete documentation index at: https://developers.aimtell.com/llms.txt
Use this file to discover all available pages before exploring further.
Check Permissions
(str) - granted, default or denied
Supports Push
(boolean)
Get Subscriber ID
(str) subscriber id
Get Push Token
(str) device token
Get Subscriber ID From Token
token- required. browser push token
(obj) result, uid
Get Subscriber Attributes
Show Push Prompt
null
Force Push Prompt
null
Get Notifications
(array) of notification objects with the following fields:
title- notification titlebody- notification bodyicon- icon URLlink- destination URLread-(boolean)trueif read,falseif unreadtimestamp- used to target a single notification in the functions below
Mark Notifications Read
timestamp to mark a single notification, or call with no arguments to mark all notifications as read.
Params:
timestamp- optional. Thetimestampvalue from a_aimtellGetNotifications()response item. Pass it through unchanged.
(obj) { updated: <count> }
Mark Notifications Unread
timestamp to target one, or omit to mark all notifications as unread.
Params:
timestamp- optional. Thetimestampvalue from a_aimtellGetNotifications()response item. Pass it through unchanged.
(obj) { updated: <count> }
Delete Notifications
timestamp to delete a single notification, or omit to delete all of the subscriber’s notifications.
Params:
timestamp- optional. Thetimestampvalue from a_aimtellGetNotifications()response item. Pass it through unchanged.
(obj) { deleted: <count> }
