Deliveries

Auditing tool to monitor the status of every notification attempt. This is the primary tool for troubleshooting connectivity or payload issues.

GET /api/v1/deliveries

Summary: Gets all webhook deliveries filtered by optional criteria.

Query Parameters

Parameter Type Required Description
status integer No Filter by: 1 (PENDING), 2 (SUCCESS), 3 (FAILED).
maxRetries integer No Filter by maximum number of attempts.
limit integer No Records to return (1-1000, default 100).

Response Data (DeliveryResponse)

Field Type Description
id integer Unique identifier of the delivery log.
status integer Current state (1=Pending, 2=Success, 3=Failed).
requestPayload string The exact JSON body dispatched to your server.
responseStatusCode integer HTTP code returned by your endpoint (e.g., 500).
duration integer Round-trip time in milliseconds.
attemptNumber integer Number of retries performed (out of 5).

cURL Request:

curl --request GET \
  --url 'https://api.bmgmoney.com/api/v1/deliveries?status=3&limit=10' \
  --header 'X-Context-Key: 55012'