cURL
curl --request POST \ --url https://alto.dialme.at/api/altov2/public/templates/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "description": "<string>", "instruction": "basic", "conversational_states": {} } '
{ "message": "success", "result": { "_id": "tp_***", "title": "<string>", "description": "<string>", "instruction": {}, "conversational_states": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Retrieve your key from Dashboard.
3 - 180
3 - 360
Show child attributes
You can use our generator to create a conversational_states and export it as JSON. The JSON should be in the format of the generator JSON export.
generator
Successful response
"success"