Skip to main content
GET
/
api
/
v1
/
bila
/
webhooks
/
{id}
/
deliveries
Get delivery history
curl --request GET \
  --url https://api.usebila.com/api/v1/bila/webhooks/{id}/deliveries \
  --header 'x-api-key: <api-key>'
{
  "status": true,
  "message": "Operation completed successfully",
  "data": {
    "data": [
      {
        "id": "68f11209-451f-4a15-bfcd-d916eb8b09f6",
        "webhookConfigId": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
        "eventType": "payment.completed",
        "payload": {
          "id": "68f11209-451f-4a15-bfcd-d916eb8b09f7",
          "transactionId": "68f11209-451f-4a15-bfcd-d916eb8b09f8",
          "amount": "100.50",
          "status": "COMPLETED"
        },
        "status": "DELIVERED",
        "responseStatus": 200,
        "responseBody": "{\"received\":true}",
        "attempts": 1,
        "maxAttempts": 5,
        "deliveredAt": "2026-04-15T14:30:05.000Z",
        "failedAt": null,
        "nextRetryAt": null,
        "createdAt": "2026-04-15T14:30:00.000Z"
      }
    ],
    "meta": {
      "total": 150,
      "perPage": 50,
      "currentPage": 1,
      "pageCount": 3
    }
  }
}

Authorizations

x-api-key
string
header
required

Merchant API key (e.g., sk_live_xxx or sk_test_xxx)

Path Parameters

id
string
required

Webhook config UUID

Example:

"68f11209-451f-4a15-bfcd-d916eb8b09f4"

Query Parameters

eventType
string

Filter by event type

Example:

"payment.completed"

status
string

Filter by status (QUEUED, DELIVERED, FAILED, RETRYING)

Example:

"DELIVERED"

startDate
string

ISO 8601 start of createdAt range (inclusive)

Example:

"2026-04-01T00:00:00.000Z"

endDate
string

ISO 8601 end of createdAt range (inclusive)

Example:

"2026-04-30T23:59:59.999Z"

page
number
default:1

Page number

Required range: x >= 1
Example:

1

perPage
number
default:20

Items per page

Required range: 1 <= x <= 100
Example:

20

Response

200 - application/json

Deliveries retrieved

status
boolean
required

Request success status

Example:

true

message
string
required

Response message

Example:

"Operation completed successfully"

data
object