Setup guide
Create your server endpoint
Set up an HTTP or HTTPS endpoint function that can accept webhook requests with a POST method.
Example endpoint:
Test your endpoint locally
Before going live, test your application integration locally. For example, host the endpoint on localhost:8080/webhook
and test with Postman:
Test using this CURL command:
Make your local endpoint online
Deploy your endpoint using Ngrok:
- Install ngrok:
- Start ngrok:
You’ll see a console UI like this:
Your webhook endpoint will be https://84c5df474.ngrok-free.dev/webhook
Register your webhook endpoint
You have two options:
Option 1: Register an account level webhook Set up through the dashboard’s webhooks tab for events related to any agent under your account.
Option 2: Register an agent level webhook Set up through the dashboard’s agent detail page. Note: If set, account level webhooks will not be triggered for that agent.
Verify your webhook endpoint
Start a web call in the dashboard to verify the webhook is triggered correctly.
Was this page helpful?