KeepSafe Messenger

Documentation Home KeepSafe Messenger Home

KeepSafe Messenger Documentation

Base URL: https://messenger.keepsafe.ai

Swagger Reference

Use the interactive Swagger UI for request/response schemas, authentication, and machine-readable OpenAPI metadata.

Open Swagger UI OpenAPI JSON

API Areas

AreaUse
Push NotificationsRegister app device tokens and send standard APNs/FCM-style notifications.
Live ActivitiesRegister ActivityKit Live Activity push tokens and send update/end events.
SMS MessagesRegister app SMS recipients and send targeted or broadcast text messages.
Email MessagesRegister app email recipients and send targeted or broadcast email messages.
Slack WebhooksRegister app Slack incoming webhooks and send targeted or broadcast Slack messages.

Authentication

App API calls use an app API token generated from the admin setup flow. Send it as a bearer token.

Authorization: Bearer <API_TOKEN>
ScopePurpose
device:writeRegister or update device push tokens, ActivityKit Live Activity push tokens, SMS recipients, and email recipients.
slack:writeRegister or update Slack incoming webhook recipients.
push:sendInitiate push notifications and Live Activity updates.
sms:sendInitiate SMS messages through AWS End User Messaging.
email:sendInitiate email messages through SendGrid.
slack:sendInitiate Slack messages through registered incoming webhooks.
adminAdmin-level API access.

Admin Invitations

Manage Users invitations require SSO_ADMIN_TOKEN. KeepSafe Messenger uses it to create the SSO app user when needed, ask SSO for a login URL without sending email, then delivers and audits the invitation through the Messenger email pipeline.

Admin Web Sending

From the main admin page, choose Push Notifications, Live Events, SMS Messages, Email Messages, or Slack Webhooks for an app. Each delivery type has its own send form and recent event history.