Ir al contenido

Enviar mensaje al agente

POST
/partner/tenants/{tenant_id}/chat
curl --request POST \
--url https://api.overtaker.online/api/v1/partner/tenants/example/chat \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "message": "example", "session_id": "example" }'

Envía un mensaje al agente IA del tenant y recibe su respuesta.

tenant_id
required
Tenant Id
string
Media type application/json
PartnerChatRequest
object
message
required
Message
string
session_id
required
Session Id
string
Example generated
{
"message": "example",
"session_id": "example"
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}