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.
Contacts
Working with the Oki-Toki CRM: creating and updating contacts, exporting cards and their related data — for syncing with external CRMs.
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.
Integrations
Service methods for connecting external systems and webhooks — Oki-Toki events pushed into your services.
Lists
Black and white number lists: checking whether a value exists, adding and removing entries.
Projects
Questionnaire and project data: field structure, questionnaire records — everything agents fill in on cards.
Queues
Inbound queue state: statuses, load, agents on the line — for dashboards and real-time monitoring.
Reports
The call log with date and number filters, summary reports on calls, queues and users — raw material for your analytics and BI.
SMS
Sending SMS and managing SMS campaigns through connected providers.
Users
Agent management: changing a user’s status (e.g. sending them on a break from an external system), occupancy data.
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.