const options = {
method: 'POST',
headers: {cookie: 'overlay_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({
conversationId: '<string>',
agentRunId: '<string>',
token: '<string>',
text: '<string>'
})
};
fetch('https://overlay.works/api/v1/conversations/run/input', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));