Skip to main content
PATCH
/
templates
/
update
cURL
curl --request PATCH \
  --url https://alto.dialme.at/api/altov2/public/templates/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "update": {
    "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"
  }
}

Authorizations

Authorization
string
header
required

Retrieve your key from Dashboard.

Body

application/json
id
string
required

ID of the template

update
object
required

Response

Successful response

message
string
Example:

"success"

result
object