Skip to main content
POST
Reply, reply all or forward

Authorizations

Authorization
string
header
required

Marketplace API key

Headers

idempotency-key
string
x-session-token
string

The App Bridge token of the logged-in user (maxcare.appToken()), verified for this app and organization. With it the request reaches that user's own mail; without it, the mail of the API key's creator. A token that does not verify is 401 authorizer_unverified. Sent as a header so GET requests keep it out of URLs.

X-Organization-Id
string
required

Target clinic organization ID

Path Parameters

id
string
required

Intramail message ID (iml_…)

Query Parameters

mailboxId
string

Mailbox (imb_…) from GET /intramail/status: one of the acting user's EHR logins. Defaults to the one marked isDefault.

Body

application/json
kind
enum<string>
required

reply: the author, or on your own message its to recipients. replyAll: everyone the original reached (groups expanded) and the author, never you. forward: only to/cc. EMA has no threads: each is a new message quoting the original.

Available options:
reply,
replyAll,
forward
body
string
required

Your text; the original is quoted below it

Maximum string length: 50000
to
object[]

Added recipients (required to forward)

cc
object[]

Response

Created

code
string
required

Response code

Example:

"success"

data
object
required