MessagingMessageDto

One SMS or WhatsApp message, inbound or outbound

Properties

Name Type Description
messageIdstring

The message's id in the Messaging Service

The message's id in the Messaging Service

conversationCodestring

The code of the conversation it belongs to

The code of the conversation it belongs to

externalAddressstring

The other party's number, E.164

The other party's number, E.164

contactCodeAndNameDto
directionenum

Inbound Outbound

Inbound Outbound

channelenum

Sms WhatsApp

Sms WhatsApp

tenantAddressstring

The practice's own number on the message, E.164

The practice's own number on the message, E.164

bodystring

The text; empty for a media-only message

The text; empty for a media-only message

contentSidstring

The WhatsApp template sent (HX…); null for free text and inbound messages

The WhatsApp template sent (HX…); null for free text and inbound messages

templateCodeAndNameDto
statusenum

Queued Sending Sent Delivered Read Undelivered Failed Received

Queued Sending Sent Delivered Read Undelivered Failed Received

errorCodeinteger

The provider's error code when it failed or was not delivered

The provider's error code when it failed or was not delivered

errorMessagestring

The provider's error text when sending was refused

The provider's error text when sending was refused

sentByUserCodeAndNameDto
messageDatestring

When the Messaging Service stored it (UTC)

When the Messaging Service stored it (UTC)

mediaarray of MessagingMessageMediaDto

Its attachments

Its attachments

JSON Example

{
  "messageId": "00000000-0000-0000-0000-000000000000",
  "conversationCode": "string",
  "externalAddress": "string",
  "contact": {
    "code": "string",
    "name": "string"
  },
  "direction": "Inbound"
}

Used By Operations

Contained in Schemas