Skip to main content
POST
Post a message to an emergency's conversation

Authorizations

Authorization
string
header
required

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

Path Parameters

org_id
string
required

Target organization id (from the route path)

emergency_id
string
required

Emergency id

Body

application/json
content
string | null
Maximum string length: 4000
author
MessageAuthorInput · object | null
attachments
AttachmentInput · object[]

Attachments to post with the message. Accepts a list or a single item; each item is either an object with src (plus optional type, caption) or the bare value string. src takes a data: URI, bare base64, or an https:// URL. At most 5 per message. attachment is accepted as a singular alias for this field.

Maximum array length: 5

Response

Successful Response

messageId
string
required
conversationId
string
required
content
string
required
source
string | null
createdAt
string | null
attachments
PublicAttachmentResponse · object[]

Stored attachments; empty for text-only messages