Webhook Deliveries

get

List deliveries for an endpoint

Returns a paginated list of webhook deliveries for a specific endpoint. Deliveries are retained for 7 days.

limitint

Maximum number of items to return

Default
20
Min
1
Max
100
startingAfterstring

Cursor for pagination. Pass the ID of the last item from the previous page.

statusstring

Filter deliveries by status.

Enum
  • success
  • failed

Responses

Response examples

Success

{
  "data": {
    "items": [
      {
        "id": "del_abc123",
        "networkId": "n_abc123",
        "endpointId": "wh_abc123",
        "eventId": "string",
        "eventType": "ocpp.message",
        "payload": {},
        "status": "success",
        "attempts": [
          {
            "status": "success",
            "error": "string",
            "timestamp": "2023-06-07T17:32:28Z"
          }
        ],
        "createdAt": "2023-06-07T17:32:28Z",
        "lastAttemptAt": "2023-06-07T17:32:28Z"
      }
    ],
    "hasMore": true
  }
}
post

Resend a webhook delivery

Manually resends a webhook delivery to the endpoint. This creates a new delivery attempt with a fresh signature.

endpointIdstring

required

The webhook endpoint ID

deliveryIdstring

required

The delivery ID to resend

Responses

Response examples

Delivery resent

{
  "data": {
    "id": "string",
    "status": "success",
    "statusCode": 123,
    "error": "string",
    "attempt": {
      "status": "success",
      "error": "string",
      "timestamp": "2023-06-07T17:32:28Z"
    }
  }
}

Was this page helpful?