Skip to main content
POST
Send formatted message

Overview

Send a formatted chat message. Provide Markdown in message and the server creates plain text and HTML representations for recipients to choose from.

Authentication

Requires a valid JWT bearer token.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Referer
string<uri>
required

Your application's HTTPS URL, for example https://app.example.com/. Include this header on every Agent API request, including backend calls, login, and account creation. Browser clients must use a referrer policy that sends the application origin. See /neuron-api/api-basics#required-referer-header.

Body

application/json
to
string
required
message
string
required
subject
string
required
language
string
required
id
string
required

Response

200 - application/json

Success

sent
boolean
required
id
string
required