Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

MessagingRecipientDto

A number the client record's composer can send to: one of the client's own numbers or one of its
contacts', or a conversation matched to them by hand whose number is on no record. One per number,
however it was typed.

Properties

Name Type Description
addressstring

The number: E.164 when it has a conversation, otherwise as the record holds it (the client send
route takes either)

The number: E.164 when it has a conversation, otherwise as the record holds it (the client send
route takes either)

labelstring

Which of the holder's numbers it is: Mobile, Phone or Other; null for a number on no record

Which of the holder's numbers it is: Mobile, Phone or Other; null for a number on no record

holderMessagingRecipientHolderDto
conversationCodestring

The code of its conversation matched to the client or one of its contacts; null when there is none
(send on the client route with to)

The code of its conversation matched to the client or one of its contacts; null when there is none
(send on the client route with to)

whatsAppWindowClosesAtstring

When WhatsApp free text to the number stops being allowed, as the Messaging Service stated it (24 hours after
its newest inbound WhatsApp message); null when closed, never opened or unknown. A hint: the service decides.

When WhatsApp free text to the number stops being allowed, as the Messaging Service stated it (24 hours after
its newest inbound WhatsApp message); null when closed, never opened or unknown. A hint: the service decides.

lastMessageDatestring

When its conversation's newest message arrived or was sent; null with no conversation

When its conversation's newest message arrived or was sent; null with no conversation

isKnownOnWhatsAppboolean

The number is known on WhatsApp to the practice (it has messaged the practice on WhatsApp, or a WhatsApp message
to it was delivered or read): the composer shows the WhatsApp icon beside it. False with no conversation.

The number is known on WhatsApp to the practice (it has messaged the practice on WhatsApp, or a WhatsApp message
to it was delivered or read): the composer shows the WhatsApp icon beside it. False with no conversation.

optedOutChannelsarray of enum

The channels the number has opted out of the practice's messages on (empty for none), read from
the Messaging Service on each call; null when the service could not be read (the send's 409 still
decides)

Sms WhatsApp

The channels the number has opted out of the practice's messages on (empty for none), read from
the Messaging Service on each call; null when the service could not be read (the send's 409 still
decides)

Sms WhatsApp

JSON Example

{
  "address": "string",
  "label": "string",
  "holder": {
    "type": "...",
    "code": "string",
    "name": "string"
  },
  "conversationCode": "string",
  "whatsAppWindowClosesAt": "2024-01-01T00:00:00Z"
}