curl --request PATCH \
--url https://alto.dialme.at/api/altov2/public/assistants/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"update": {
"name": "<string>",
"voice": "en-US-Neural2-D",
"end_screen": "<string>",
"pre_questions": [
"<string>"
],
"phone_number": "<string>",
"structured_data": [
{
"type": "short_response",
"value": "<string>",
"choices": [
"<string>"
]
}
],
"webhook": "<string>",
"logo": {
"src": "<string>",
"href": "<string>"
},
"hidden_fields": [
"<string>"
]
}
}
'{
"message": "success",
"result": {
"_id": "as_***",
"template_id": "tp_***",
"title": "<string>",
"conversational_states": {},
"language": "<string>",
"voice": "<string>",
"end_screen": "<string>",
"pre_questions": [
"<unknown>"
],
"webhook": "<string>",
"structured_data": [
"<unknown>"
],
"slug": "<string>",
"phone_number": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}curl --request PATCH \
--url https://alto.dialme.at/api/altov2/public/assistants/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"update": {
"name": "<string>",
"voice": "en-US-Neural2-D",
"end_screen": "<string>",
"pre_questions": [
"<string>"
],
"phone_number": "<string>",
"structured_data": [
{
"type": "short_response",
"value": "<string>",
"choices": [
"<string>"
]
}
],
"webhook": "<string>",
"logo": {
"src": "<string>",
"href": "<string>"
},
"hidden_fields": [
"<string>"
]
}
}
'{
"message": "success",
"result": {
"_id": "as_***",
"template_id": "tp_***",
"title": "<string>",
"conversational_states": {},
"language": "<string>",
"voice": "<string>",
"end_screen": "<string>",
"pre_questions": [
"<unknown>"
],
"webhook": "<string>",
"structured_data": [
"<unknown>"
],
"slug": "<string>",
"phone_number": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}