Documentation for developers

Oki-Toki provides a REST API for integrating the call center with your systems: CRMs, websites, bots and internal services. The base URL is https://home.oki-toki.net/api/v1/, responses are JSON.

The API key is created in your account (the “Integrations” section). Every request is authorized with this key — see Authenticating requests for details.

The full interactive documentation with every method, parameter and ready-made code samples (PHP, curl, JavaScript, Python) lives at one.oki-toki.net/docs/api. Below is a map of the sections: what each method group does and where to look for the details.

API capabilities by section

Calls

Data on a specific call: attaching and reading arbitrary call information, downloading the conversation recording by session id.

Calls group methods →

Contacts

Working with the Oki-Toki CRM: creating and updating contacts, exporting cards and their related data — for syncing with external CRMs.

Contacts group methods →

Dialers

Managing auto-dialers: the dialer list, adding tasks (numbers) to a campaign, cancelling tasks, state control. The main tool for wiring lead generation into dialing.

Dialers group methods →

Integrations

Service methods for connecting external systems and webhooks — Oki-Toki events pushed into your services.

Integrations group methods →

Lists

Black and white number lists: checking whether a value exists, adding and removing entries.

Lists group methods →

Projects

Questionnaire and project data: field structure, questionnaire records — everything agents fill in on cards.

Projects group methods →

Queues

Inbound queue state: statuses, load, agents on the line — for dashboards and real-time monitoring.

Queues group methods →

Reports

The call log with date and number filters, summary reports on calls, queues and users — raw material for your analytics and BI.

Reports group methods →

SMS

Sending SMS and managing SMS campaigns through connected providers.

SMS group methods →

Users

Agent management: changing a user’s status (e.g. sending them on a break from an external system), occupancy data.

Users group methods →

Getting started

Create an API key in your account, open the interactive documentation and run your first request from a ready-made sample. If something doesn’t work — file a ticket to our support from your account, we’ll help with the integration.

Create Account




    Data Processing Agreement