Telstra · Schema

Telstra Message

Representation of an outbound SMS or MMS message sent through the Telstra Messaging API.

TelecommunicationsTelcoMobileMessagingSMSMMSNetworksAustraliaVerification

Properties

Name Type Description
to string Destination MSISDN in E.164 format.
from string Sender ID or provisioned dedicated virtual number.
body string Message body (SMS only); MMS uses MMSContent parts.
subject string MMS subject line.
deliveryStatus string
messageId string
messageStatusURL string
sentTimestamp string
receivedTimestamp string
userMsgRef string
scheduledDelivery integer
validity integer
notifyURL string
replyRequest boolean
priority boolean
View JSON Schema on GitHub

JSON Schema

telstra-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telstra/main/json-schema/telstra-message-schema.json",
  "title": "Telstra Message",
  "description": "Representation of an outbound SMS or MMS message sent through the Telstra Messaging API.",
  "type": "object",
  "required": ["to", "deliveryStatus", "messageId"],
  "properties": {
    "to": {
      "type": "string",
      "description": "Destination MSISDN in E.164 format."
    },
    "from": {
      "type": "string",
      "description": "Sender ID or provisioned dedicated virtual number."
    },
    "body": {
      "type": "string",
      "description": "Message body (SMS only); MMS uses MMSContent parts."
    },
    "subject": {
      "type": "string",
      "maxLength": 64,
      "description": "MMS subject line."
    },
    "deliveryStatus": {
      "type": "string",
      "enum": [
        "MessageWaiting",
        "DeliveredToNetwork",
        "MessageBuffered",
        "DeliveredToTerminal",
        "DeliveryImpossible",
        "Rejected"
      ]
    },
    "messageId": {
      "type": "string"
    },
    "messageStatusURL": {
      "type": "string",
      "format": "uri"
    },
    "sentTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "receivedTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "userMsgRef": {
      "type": "string"
    },
    "scheduledDelivery": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1440
    },
    "validity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1440
    },
    "notifyURL": {
      "type": "string",
      "format": "uri"
    },
    "replyRequest": {
      "type": "boolean"
    },
    "priority": {
      "type": "boolean"
    }
  }
}