Channels
Channels let you group related notifications. Each channel gets its own API key and can be configured independently.
Creating a Channel
You can create channels from the dashboard or via the API:
curl -X POST https://api.pushtower.com/v1/channels \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "name": "server-alerts" }'
Channel Settings
Each channel supports:
- Custom sounds — Upload your own notification sounds
- Priority levels — Control how notifications are delivered
- Rate limits — Prevent notification floods
- Encryption — End-to-end encrypt sensitive payloads
Use Cases
| Channel | Example |
|---|---|
server-alerts | CPU > 90%, disk full, deploy complete |
home-automation | Door opened, motion detected, temperature alert |
ci-cd | Build passed, tests failed, deploy complete |
price-alerts | BTC > $100k, ETH gas low |