Skip to content

Tock documented APIs

Tock Web Connector API

The Tock Web Connector allows to interact with a bot using a REST API.

API documentation is available at /api/web-connector.

Tock NLU API

To test a model via the Tock NLU / NLP API, see /api.

It is also possible to run the provided Docker images and open http://localhost/doc/index.html

Tock Studio / Admin API

Tock Studio Admin API (to manage the models) is documented: /api/admin

It is also possible to run the provided Docker images and open http://localhost/doc/admin.html.

Tock Bot Definition API

This API allows to create bots and stories with any programming language. Tock bots can be composed of configured stories (using Tock Studio builder) and programatic stories, possibly implementing complex rules or leveraging other external APIs.

This API is used by provided Kotlin, Javascript/Nodejs and Python clients available in WebHook or WebSocket mode.

The API is under development, it will soon be documented.

To know more about the Bot API development frameworks, see this page.