Push API Keys Developer

Generate API keys for external apps to send push notifications via the Firebase-compatible REST API.

Authenticate Your Apps for Push Delivery

Push API Keys let your backend services and mobile apps authenticate with Pappy Mall's push notification system. Generate multiple keys for different environments (development, staging, production) and track usage per key.

Key Management Features

Create Multiple Keys

Generate separate keys for dev, staging, and production. Each key has its own usage metrics and can be revoked independently.

Key Rotation

Rotate keys without downtime. Create a new key, update your apps, then revoke the old key when ready.

Per-Key Analytics

Track how many notifications each key sends. Monitor usage patterns and identify unauthorized access attempts.

Secure by Default

Keys are shown only once at creation time. Store them securely in your app's environment variables or secrets manager.

How It Works

1
Create an API Key

Click "Create API Key", give it a name (e.g., "Production Backend"), and copy the key immediately.

2
Add to Your App

Include the API key in the X-Api-Key header of your push notification API requests.

3
Send Notifications

Your app can now send push notifications to devices, topics, or individual users. Monitor usage from the dashboard.

Authentication Example

// Include your Push API Key in the request header
fetch('https://your-domain.com/api/push/send', {
  method: 'POST',
  headers: {
    'X-Api-Key': 'your-push-api-key-here',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    token: 'device-token-here',
    title: 'Hello!',
    body: 'You have a new message'
  })
});
Quick Facts
  • Multiple keys per org
  • Per-key usage tracking
  • Secure key rotation
  • One-time display
  • Instant revocation
  • Firebase-compatible
Get Started

Generate your first Push API key and start sending notifications.

Start Free