curl --request GET \
--url https://rt.tonapi.io/webhooks \
--header 'Authorization: Bearer <token>'{
"webhooks": [
{
"id": 123,
"endpoint": "<string>",
"token": "<string>",
"subscribed_accounts": 123,
"subscribed_msg_opcodes": 123,
"subscribed_to_mempool": true,
"subscribed_to_new_contracts": true,
"status": "<string>",
"status_updated_at": "<string>",
"last_online_at": "<string>",
"status_failed_attempts": 123
}
]
}List all configured webhooks with their status and subscription counts.
curl --request GET \
--url https://rt.tonapi.io/webhooks \
--header 'Authorization: Bearer <token>'{
"webhooks": [
{
"id": 123,
"endpoint": "<string>",
"token": "<string>",
"subscribed_accounts": 123,
"subscribed_msg_opcodes": 123,
"subscribed_to_mempool": true,
"subscribed_to_new_contracts": true,
"status": "<string>",
"status_updated_at": "<string>",
"last_online_at": "<string>",
"status_failed_attempts": 123
}
]
}API key from tonconsole.com. Can also be passed as a token query parameter.
List of webhooks
Show child attributes
Was this page helpful?