API Keys
Per-app credential used to send notifications and post events from your own backend.
Generating a key#
Open your app
Open the app you want to send from.
Go to API Keys
Navigate to Setting → API Keys.
Add a key
Click Add key, give it a name if you like (for example "Production Android"), and click Generate key. The key works for that one app only.
Copy it now
The full key is shown only once. Click Copy and store it somewhere safe before you click Done. If you lose it, add a new key and disable the old one.
Using the key#
Send it as a Bearer token on requests to the notifySphere API, and pass it as apiKey when initializing a client SDK. The React Native SDK's initialize() and setBackgroundHandler() both take it, and use it to authenticate delivery and press-tracking calls.
Common uses#
- Sending push/WhatsApp messages from your own backend instead of the dashboard UI
- Registering users and syncing tags server-side
- Posting campaign conversion events (
postEvent) for attribution
Stuck or something unclear? Contact us and we'll help.