v1

latestOpenAPI 3.0.1MIT2026-07-267214122.9 KB

Permite conversar com o agente via API enviando texto, imagem ou áudio

post/v2/agent/{agentId}/conversation

Path parameters

agentIdstring required

ID do agente

Request body

OR
OR
OR
OR

Example request

{
  "contextId": "12345",
  "prompt": "oi qual seu nome?",
  "callbackUrl": "https://webhook.site",
  "onFinishCallback": "https://webhook.site",
  "chatName": "Fulano",
  "chatPicture": "https://foto.jpeg",
  "phone": "55xxxxxxxx"
}

Response

Resposta do agente

messagestring

Resposta do agente

imagesstring[]
audiosstring[]
documentsstring[]