How to register a webhook
Learn how to register a webhook with Toky and get real-time information about calls, SMS, and voicemails
API Endpoint used
To register a webhook with Toky you can use our reference page and follow these steps:
- Enter the URL where Toky will send the data for the event
- Select the event you want Toky to notify. You can select new_call, new_voicemail or new_sms.
- Enter your API Key. You can learn how to get yours in this article
- Click on the Try It button to register the webhook.
Event data
You can validate the data sent by every event in our API reference
You will get a response with the following JSON data:
{
"id": "12",
"created_at": "2017-06-27 19:24:10",
"event": "new_call",
"hook_url": "https://your.hook.url/for_toky_events"
}
Important
The id can be used later if you want to remove the webhook.
Updated over 4 years ago