The hosted platform is coming soon. Join the waitlist to be notified at launch.
Events
Events represent something that happened in your system. When you create an event, Deliverant creates deliveries to each specified endpoint.
/v1/eventsIngest an event and create deliveries to the specified endpoints.
Request body
typereqpayloadreqendpoint_idsreqidempotency_key{
"type": "order.created",
"payload": { "order_id": 123, "amount": 99.99 },
"endpoint_ids": ["ep_550e8400-e29b-41d4-a716-446655440000"],
"idempotency_key": "unique-key-123"
}{
"event_id": "evt_f47ac10b-58cc-4372-a567-0e02b2c3d479",
"deliveries": [
{
"delivery_id": "del_6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"endpoint_id": "ep_550e8400-e29b-41d4-a716-446655440000",
"created": true
}
]
}Idempotency
Deliverant supports two delivery modes based on whether you provide an idempotency_key:
When idempotency_key is provided. Deduplication uses the user-supplied key within a 72-hour window.
Without an idempotency key. A deterministic key is generated from tenant + endpoint + type + payload hash.
Deduplication Behavior
When a duplicate is detected within the 72-hour window, the existing delivery is returned with "created": false.
If the same idempotency key is reused with a different payload, the API returns 409 Conflict.
{
"error": {
"code": "IDEMPOTENCY_KEY_CONFLICT",
"message": "Idempotency key reused with different payload",
"details": {}
}
}