Amazon Pinpoint · Schema
SMSMessage
Specifies the default settings for a one-time SMS message that's sent directly to an endpoint.
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics
Properties
| Name | Type | Description |
|---|---|---|
| Body | object | |
| Keyword | object | |
| MediaUrl | object | |
| MessageType | object | |
| OriginationNumber | object | |
| SenderId | object | |
| Substitutions | object | |
| EntityId | object | |
| TemplateId | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-schema/amazon-pinpoint-sms-message-schema.json",
"title": "SMSMessage",
"description": "Specifies the default settings for a one-time SMS message that's sent directly to an endpoint.",
"type": "object",
"properties": {
"Body": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The body of the SMS message."
}
]
},
"Keyword": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The SMS program name that you provided to AWS Support when you requested your dedicated number."
}
]
},
"MediaUrl": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "This field is reserved for future use."
}
]
},
"MessageType": {
"allOf": [
{
"$ref": "#/components/schemas/MessageType"
},
{
"description": "The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages)."
}
]
},
"OriginationNumber": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The number to send the SMS message from. This value should be one of the dedicated long or short codes that's assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message and sends the message from that code."
}
]
},
"SenderId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region."
}
]
},
"Substitutions": {
"allOf": [
{
"$ref": "#/components/schemas/MapOfListOf__string"
},
{
"description": "The message variables to use in the SMS message. You can override the default variables with individual address variables."
}
]
},
"EntityId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country."
}
]
},
"TemplateId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "The template ID received from the regulatory body for sending SMS in your country."
}
]
}
}
}