Create alerts within incident.io.
The alerts API allows you to create alerts within incident.io by posting alert events. You can use alerts to automatically trigger incidents.
To create an alert, you must first configure an alert source in the incident.io dashboard.
Create an alert event using an HTTP source.
Accepted response.
{- "deduplication_key": "4293868629",
- "description": "We've detected a number of timeouts on hello.world.com, the service may be down. To fix...",
- "metadata": {
- "service": "hello.world.com",
- "team": [
- "my-team"
]
}, - "status": "firing",
- "title": "*errors.withMessage: PG::Error failed to connect"
}
{- "deduplication_key": "unique-key",
- "message": "Event accepted for processing",
- "status": "success"
}