Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/assistant/chat
curl \
--request POST 'https://wyzio.app/api-v1/assistant/chat' \
--header "Content-Type: application/json" \
--data '{
"messages": [
{
"role": "string",
"content": "string"
}
],
"language": "string",
"helpKey": "string"
}'
Request examples
# Headers
# Payload
{
"messages": [
{
"role": "string",
"content": "string"
}
],
"language": "string",
"helpKey": "string"
}
Response examples (200)
{"timeout" => 42}