Endpoint object
string
Unique endpoint identifier (UUID).
string
The HTTPS URL Dubu delivers events to.
array
List of event type strings this endpoint is subscribed to. An empty array means all events are delivered.
boolean
Whether this endpoint is currently receiving events.
string
ISO 8601 creation timestamp.
string
ISO 8601 last-updated timestamp.
Register an endpoint
secret) in this response — store it securely. It is only shown once and is used to verify that incoming requests genuinely originate from Dubu. See verifying signatures for how to use it.
Request body
string
required
The fully-qualified HTTPS URL Dubu should POST events to. Must be a valid URL.
array
required
Array of event type strings to subscribe to (e.g.
["deposit.settled", "checkout.payment.completed"]). Pass an empty array [] to subscribe to all events.Example
Response
Returns201 Created. The secret field is only present in this response.
List endpoints
secret field is never returned in list or get responses — rotate the secret if you need to retrieve it again.
Example
Update an endpoint
string
required
UUID of the endpoint to update.
string
New delivery URL.
array
Updated list of event type strings. Replaces the current subscription list.
boolean
Set to
false to pause delivery without deleting the endpoint.Example
Delete an endpoint
string
required
UUID of the endpoint to delete.
Send a test event
string
required
UUID of the endpoint to test.
Rotate signing secret
string
required
UUID of the endpoint whose secret you want to rotate.
View delivery logs
Query parameters
string
Filter logs to a specific endpoint.
string
Filter by event type, e.g.
deposit.settled.string
true to see only successful deliveries, false to see only failed ones.number
Page number (1-indexed).
number
Results per page. Maximum
100. Defaults to 50.Example
Log entry fields
string
Log entry UUID.
string
UUID of the endpoint this delivery was attempted to.
string
URL of the endpoint at the time of delivery.
string
The event type that was delivered.
object
The full JSON payload that was sent to your endpoint.
number
HTTP status code returned by your server.
0 if the connection failed.boolean
true if your server responded with a 2xx status code.string
Error description if delivery failed.
null on success.string
ISO 8601 timestamp of the delivery attempt.