This command is mainly intended for use in development and testing environments. For production environment, set up a proper webhook endpoint in your application as instructed in Set up a callback or webhook endpoint.
Usage
Options
-
--events <event_type>
: Filter the events by specifying event types. Replace<event_type>
with the specific event types you’re interested in and separate them by commas. Possible values for event types include:wallets.transaction.created
wallets.transaction.updated
wallets.transaction.failed
wallets.transaction.succeeded
wallets.mpc.tss_request.created
wallets.mpc.tss_request.updated
wallets.mpc.tss_request.failed
wallets.mpc.tss_request.succeeded
You can also run the cobo webhook events command to get the latest list of all available event types. -
--forward <url>
: Forward received events to the specified URL.When using this option, ensure that your endpoint is properly secured, especially if you’re forwarding to a public URL.
Example
wallets.transaction.created
and wallets.transaction.updated
event types and forward the received events to the url https://your-endpoint.com/webhook
.
Feel free to share your feedback to improve our documentation!