Toky API

Connect Toky with your business tools

Integrate Toky virtual phone system features into your business apps and CRM and improve your communication with customers.
Find comprehensive guides and documentation to help you start working with Toky API and developer tools.

API Reference    Get Started

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:


1. Enter the URL where Toky will send the data for the event
2. Select the event you want Toky to notify. You can select new_call, new_voicemail or new_sms.
3. Enter your API Key. You can learn how to get yours in this article
4. 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 2 months ago

How to register a webhook


Learn how to register a webhook with Toky and get real-time information about calls, SMS, and voicemails

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.