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.createdwallets.transaction.updatedwallets.transaction.failedwallets.transaction.succeededwallets.mpc.tss_request.createdwallets.mpc.tss_request.updatedwallets.mpc.tss_request.failedwallets.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.
