API
Webhooks

How to Set Up a Webhook

1) Create Whispertrades webhook

Visit your Whispertrades API page and click Create Webhook:

Document image


Fill out your webhook name and type:

Document image


2) View the webhook details

Click on the eyeball "view" icon next to your webhook to view the webhook URL and body

Document image


Copy these values. You will need these values at TradingView:

Document image


3) Configure TradingView webhook

Create your TradingView alert by right-clicking on the chart or indicator and selecting "Add alert..."

Copy the Whispertrades "Body" text to the TradingView "Message" field:

Document image


Click on the TradingView alert "Notifications" tab, select Webhook URL, and then enter your Whispertrades webhook URL into this field:

Document image


4) Click "Create" on the TradingView webhook

All done!

Always monitor your webhooks for failure

Webhooks lack two-way communication like a traditional REST API. If a webhook fails to execute, it may go unnoticed. It is best to monitor your webhooks from TradingView execution to receipt by Whispertrades.

Webhooks can fail for a variety of reasons and will not always retry like other applications. Check your bot logs at Whispertrades for webhook status and errors, if any.