Dialog Service API

Dialog service is used to manage conversational dialogs for both guided games and conversational bot

Get Dialog

GET https://dtml.org/api/DialogService/Dialog?name=<name>&version=<version>

This endpoint allows you to get a dialog by the name and version

Query Parameters

Name
Type
Description

bypassCache

boolean

Should by pass cache? Dialogs are cached for 10 minutes

name

string

Dialog name

version

string

Dialog version

JSON object representing dialog structure

Get List

GET https://dtml.org/api/DialogService/List

Get list of all available diaglogs

Upsert Dialog

POST https://dtml.org/api/DialogService/Dialog

Creates or update a dialog

Path Parameters

Name
Type
Description

APIKey

string

API key

DialogJSON

string

JSON Content of a dialog

Name

string

Dialog Name

Version

string

Dialog Version

No value

Last updated