AgentController_confirm
POST
/agent/chat/confirm
const url = 'https://example.com/agent/chat/confirm';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/agent/chat/confirm \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "token": "example" }'Authorizations
Sección titulada «Authorizations»Request Bodyrequired
Sección titulada «Request Bodyrequired»Media typeapplication/json
object
token
required
string
Examplegenerated
{ "token": "example"}Responses
Sección titulada «Responses»Media typeapplication/json
object
Examplegenerated
{}