SDK reference
Presence
POST/
Says you're here from one of your apps (device: 8 to 40 letters, digits, - and _; idle; gone when the app leaves). Lasts 7 minutes, or 30 idle; answers your status (status, shown, customStatus). At most 20 devices at once (429). People only.
curl -X POST 'https://api.cactive.com.au/v1/presence/beat' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Your status as you show to yourself: what you chose (status: online, idle, dnd, invisible), how it shows (shown) and your custom status. People only.
curl 'https://api.cactive.com.au/v1/presence/me' \
-H "Authorization: Bearer $CACTIVE_TOKEN"PATCH/
Sets your status (status: online, idle, dnd or invisible), as Mirage's does; everyone who sees you hears it. Custom statuses are set in Mirage. People only.
curl -X PATCH 'https://api.cactive.com.au/v1/presence/me' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
The status of up to 100 people (userIds, emails: their account's) who share an organisation with you, unless either of you blocked the other in Mirage; others are left out. Invisible reads offline. People only.
curl -X POST 'https://api.cactive.com.au/v1/presence/people' \
-H "Authorization: Bearer $CACTIVE_TOKEN"