Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 2.65 KB

InboundMessage.md

File metadata and controls

44 lines (40 loc) · 2.65 KB

InboundMessage

Properties

Name Type Description Notes
recordType RecordTypeEnum Identifies the type of the resource. [optional]
direction DirectionEnum The direction of the message. Inbound messages are sent to you whereas outbound messages are sent from you. [optional]
id UUID Identifies the type of resource. [optional]
type TypeEnum The type of message. This value can be either 'sms' or 'mms'. [optional]
messagingProfileId UUID Unique identifier for a messaging profile. [optional]
to String Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short code). [optional]
from List<InboundMessageFrom> [optional]
text String Message body (i.e., content) as a non-empty string. Required for SMS [optional]
media List<InboundMessageMedia> [optional]
webhookUrl String The URL where webhooks related to this message will be sent. [optional]
webhookFailoverUrl String The failover URL where webhooks related to this message will be sent if sending to the primary URL fails. [optional]
encoding String Encoding scheme used for the message body. [optional]
parts Integer Number of parts into which the message's body must be split. [optional]
tags List<String> Tags associated with the resource. [optional]
cost OutboundMessageCost [optional]
receivedAt OffsetDateTime ISO 8601 formatted date indicating when the message request was received. [optional]
sentAt OffsetDateTime Not used for inbound messages. [optional]
completedAt OffsetDateTime Not used for inbound messages. [optional]
validUntil OffsetDateTime Not used for inbound messages. [optional]
errors List<Error> These errors may point at addressees when referring to unsuccessful/unconfirmed delivery statuses. [optional]

Enum: RecordTypeEnum

Name Value
MESSAGE "message"

Enum: DirectionEnum

Name Value
INBOUND "inbound"

Enum: TypeEnum

Name Value
SMS "SMS"
MMS "MMS"