Retrigger Webhook Events
Manually retrigger webhook events for a specific transaction hash. This endpoint allows administrators to resend webhook notifications that may have failed or were missed.
Endpoint: POST /webhooks/retrigger
Authentication: Required (x-api-key header)
Request Parameters
Parameter
Type
Required
Description
transaction_hash
string
Yes
The blockchain transaction hash to retrigger webhook events for
Example Request
curl -X POST https://service.roqqu.com/v1/webhooks/retrigger \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "transaction_hash=0x9ffd7f17177b6f517195bb5c3e8a769eff276ff56e875f"Example Response
{
"status": "success",
"message": "Successfully retriggered 2 webhook event(s)",
"data": {
"retriggered_count": 1,
"webhook_ids": [123],
"transaction_hash": "0x9ffd7f17177b6f517195bb5c3e8a769eff276ff56e875ffbba703ee6a940c23b"
}
}Error Responses
400 Bad Request:
500 Internal Server Error:
Last updated