Connect Any Platform
Most developer tools — analytics platforms, payment processors, CI/CD services, monitoring tools — support outgoing webhooks. You can point them directly at the API Alerts endpoint to receive notifications without writing any code.
The Pattern
Configure your platform’s outgoing webhook with:
| Setting | Value |
|---|---|
| URL | https://api.apialerts.com/event |
| Method | POST |
| Headers | Authorization: Bearer YOUR-API-KEY |
Content-Type: application/json |
Body:
{
"message": "Your notification message",
"channel": "your-channel",
"tags": ["webhook"]
}
Most platforms let you customize the payload using template variables. Use them to include relevant details like event names, user IDs, or amounts in your message.
Platform Recipes
Step-by-step setup for popular platforms.
PostHog
PostHog can forward events to API Alerts using its webhook destination.
- Go to Data pipelines > Destinations > New destination
- Select Webhook
- Configure:
- URL:
https://api.apialerts.com/event - Method:
POST - Headers:
Authorization: Bearer YOUR-API-KEY Content-Type: application/json - Body:
{ "message": "PostHog event: {event.event}", "channel": "analytics", "tags": ["posthog"] }
- URL:
- Choose which PostHog events trigger the webhook
- Save and test
Stripe
Stripe webhooks can notify you of payments, subscriptions, and disputes.
- Go to Developers > Webhooks > Add endpoint
- You’ll need a small relay service since Stripe sends its own payload format. The simplest approach:
- Use a Zapier Zap with Stripe as the trigger and API Alerts as the action
- Or write a small serverless function that transforms the Stripe payload and forwards it
If a platform sends its own payload format that doesn’t match the API Alerts request body, you can use Zapier as a bridge — set the platform as the trigger and API Alerts as the action.
Sentry
Sentry can send alerts to API Alerts when errors occur.
- Go to Settings > Integrations > WebHooks
- Enable the webhook integration
- Add a webhook URL — Sentry uses its own format, so use a Zapier Zap or a small relay:
- Zapier: Sentry trigger > API Alerts action
- Or: a serverless function that maps
event.titletomessage
Generic Setup
For any platform not listed above:
- Look for Webhooks, Notifications, Integrations, or Data pipelines in the platform’s settings
- Add a new webhook with the URL
https://api.apialerts.com/event - Set the
AuthorizationandContent-Typeheaders - Map the platform’s template variables into the JSON body
- Test the webhook
If the platform doesn’t support custom headers (some only allow a URL), use Zapier as an intermediary.
Missing a Platform?
We’re working on native integrations for popular platforms. If you’d like to see a specific platform supported, submit a feature request.