Tock APIs
This section of the Tock documentation provides a brief overview of the different APIs offered by Tock.
Tock Web Connector API
The Tock Web Connector allows interaction with a bot through a REST API.
The documentation for this API is available at /api/web-connector.
Tock NLU API
The Tock NLU/NLP API (Natural Language Understanding/Processing) allows programmatic querying of the conversational model and sentence analysis.
The Tock NLU API documentation is available at /api.
You can find this documentation on the Tock demo platform at https://demo.tock.ai/doc/.
If you have deployed a Tock platform locally using the provided Docker images, this documentation is available at http://localhost/doc/index.html.
Tock Studio / Admin API
Similarly, the Tock Studio API documentation is available at /api/admin.
You can find this documentation on the Tock demo platform at https://demo.tock.ai/doc/admin.html.
If you have deployed a Tock platform locally using the provided Docker images, this documentation is available at http://localhost/doc/admin.html.
Tock Bot Definition API
This API allows the creation of bots and journeys (stories) using any programming language.
A Tock bot can include journeys configured in Tock Studio, supplemented by journeys developed in a programming language to implement complex rules, interact with other APIs, and more.
This API is used by Kotlin, JavaScript/Node.js, and Python clients available in both WebHook and WebSocket modes.
Note: The API is still under development (beta), and its documentation will be available soon.
For development in Bot API mode, see this page.