Developer Hub
Envía mensajes al Agente de IA para que te pueda responder y puedas usar la respuesta en las aplicaciones que necesites.
cURL
curl --request POST \ --url https://api.plazbot.com/api/agent/on-message \ --header 'Content-Type: application/json' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "workspaceId": "string", "template": "string", "destination": "string", "sessionId": "string" }'
{ "success": true, "answer": "Response <answer>" }
OK
The response is of type object.
object