v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Tron Webhooks

Display all failed Webhook Notification

Lists all failed webhook notifications created by the user for the specific Blockchain and Network Based on the response you can use our /webhooks/notifications/{id}/retry to retry every failed webhook.

After you started the retry process, the webhook will be removed from this list. should the retry process fail, the webhook will be added back to this list.

get/api/v2/tron/webhooks/notifications/failed

Query parameters

pageinteger

The page number to fetch

Example:16

The page number to fetch

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

statusinteger
okboolean
messagestring
current_pageinteger
first_page_urlstring
frominteger
last_pageinteger
last_page_urlstring
next_page_urlstring
pathstring
per_pageinteger
prev_page_urlstring
tointeger
totalinteger

Example response

{
  "status": 200,
  "ok": true,
  "message": "Successfully fetched failed notifications",
  "current_page": 1,
  "data": [
    {
      "id": "9ba28088-81d8-4aab-b711-650525081fe1",
      "webhook_id": "9ba897da-7651-4df6-80ef-11c898b195e5",
      "txid": "0x8bb1ff22f084fe5098288a17dd6641f02cfcd9a4e923a342aa45dc78e178fc15",
      "type": "TRC20",
      "contractaddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "from": "0xb23360ccdd9ed1b15d45e5d3824bb409c8d7c460",
      "to": "0x238a879d973e127193b1a2fdc4f6410cd5289da5",
      "tokenid": null,
      "amount": null,
      "blocknumber": "19499380",
      "status": "failed",
      "url": "https://example.com",
      "success": false,
      "attempts": 0,
      "created_at": "2024-05-05T19:33:52.000000Z",
      "updated_at": "2024-05-05T19:33:54.000000Z",
      "network": "testnet",
      "blockchain": "tron",
      "response": "{\"status\":\"success\",\"message\":\"Hooraa! Successfully received by demo receiver.\",\"data\":{\"id\":\"9ba28088-81d8-4aab-b711-650525081fee\",\"webhook_id\":\"9ba27cd9-abdb-4c71-994f-e9e2de73af88\",\"from\":\"0xb23360ccdd9ed1b15d45e5d3824bb409c8d7c460\",\"to\":\"0x238a879d973e127193b1a2fdc4f6410cd5289da5\",\"blocknumber\":\"19499380\",\"datetime\":\"2024-03-23 19:33:54\",\"tokenid\":null,\"type\":\"ERC20\",\"contractaddress\":\"0xdac17f958d2ee523a2206206994597c13d831ec7\",\"txid\":\"0x8bb1ff22f084fe5098288a17dd6641f02cfcd9a4e923a342aa45dc78e178fc15\",\"amount\":null}}"
    }
  ],
  "first_page_url": "http://192.168.178.100:81/api/v2/tron/webhooks/notifications/failed?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "http://192.168.178.100:81/api/v2/tron/webhooks/notifications/failed?page=1",
  "links": [
    {
      "url": null,
      "label": "« Previous",
      "active": false
    },
    {
      "url": "http://192.168.178.100:81/api/v2/tron/webhooks/notifications/failed?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next »",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "http://192.168.178.100:81/api/v2/tron/webhooks/notifications/failed",
  "per_page": 15,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}