v1
latestOpenAPI 3.0.32026-07-1320201.0 MBTron Webhooks
Update webhook
Updates an existing webhook with the provided data.
put/api/v2/tron/webhooks/{id}
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' required
The MIME type of the request body.
Request body
Example request
{
"from": "TWrTTVizHkF3LxTiWE9vCnhWC7CBpNXe22",
"to": "TWrTTVizHkF3LxTiWE9vCnhWC7CBpNXe22",
"url": "http://vonrueden.com/",
"contractaddress": "TWrTTVizHkF3LxTiWE9vCnhWC7CBpNXe22",
"type": "TRC20",
"reference": "n"
}Response
Example response
{
"status": 200,
"ok": true,
"message": "Webhook updated",
"data": {
"id": "9b73d6ee-8a8b-44c3-b2c6-0bd1e1d8cd9a",
"from": "0xe01e45c4d35e596cc2aEFABAe1c08FDa9fAc4241",
"to": "0xe01e45c4d35e596cc2aEFABAe1c08FDa9fAc4241",
"contractaddress": "0xe01e45c4d35e596cc2aEFABAe1c08FDa9fAc4241",
"type": "BEP20",
"token_id": null,
"url": "http://blanda.com/debitis-et-id-nisi-qui-id.html",
"is_active": true,
"is_invalid": false,
"old_id": null,
"created_at": "2024-02-29T14:51:35.000000Z",
"updated_at": "2024-02-29T14:52:33.000000Z",
"deleted_at": null
}
}