Deliveries

Auditing tool to monitor the status of every notification attempt. This is the primary tool for troubleshooting connectivity issues with your webhook endpoint.

List deliveries

GET /law/api/v1/deliveries

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 (default 100).

cURL Request:

curl --url 'https://sandbox.bmgmoney.com/law/api/v1/deliveries?status=3&limit=10' \
  --header 'Authorization: Bearer <access_token>'

Response Data

Field Type Description
id integer Unique identifier of the delivery attempt.
type integer 1 (NEW — first attempt) or 2 (RETRY).
status integer 1 (PENDING), 2 (SUCCESS) or 3 (FAILED).
httpStatusCode integer HTTP code returned by your endpoint (e.g. 200, 500). Null while pending.
durationMs integer Round-trip time in milliseconds.
attemptCount integer Retries already performed (out of 5).
createdAt datetime When the attempt happened.

Success Response (200 OK):

[
  {
    "id": 1988,
    "type": 1,
    "status": 2,
    "httpStatusCode": 200,
    "durationMs": 144,
    "attemptCount": 0,
    "createdAt": "2026-07-20T17:19:27"
  }
]

Get a delivery by id

GET /law/api/v1/deliveries/{id}

Returns a single delivery attempt in the same shape as the list item above.

Retry behavior

  • Deliveries are considered successful on any 2xx response from your endpoint within the 5-second timeout.
  • Failed or timed-out deliveries are retried up to 5 times (type: 2 entries).
  • If all attempts fail, the delivery stays FAILED — use this endpoint to detect it and fix your receiver; the next event will deliver normally.