Send a Health Navigator message
POST
/v2/health-navigator/messages
const url = 'https://example.com/v2/health-navigator/messages';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"conversationId":"example","message":"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/v2/health-navigator/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "conversationId": "example", "message": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
conversationId
required
string
message
required
string
Examplegenerated
{ "conversationId": "example", "message": "example"}Responses
Section titled “Responses”Message sent.
