AT&T · Schema

MessageDetail

MessageDetail schema from AT&T API

Fortune 100TelecommunicationsWirelessWirelineMessagingSpeechMobileBroadbandEnterprise

Properties

Name Type Description
message object
View JSON Schema on GitHub

JSON Schema

in-app-messaging-api-message-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-and-t/refs/heads/main/json-schema/in-app-messaging-api-message-detail-schema.json",
  "title": "MessageDetail",
  "description": "MessageDetail schema from AT&T API",
  "type": "object",
  "properties": {
    "message": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "messageId": {
              "type": "string",
              "description": "Unique message identifier",
              "example": "msg-500123"
            },
            "from": {
              "type": "string",
              "description": "Sender address (phone number or email)",
              "example": "tel:+12125551234"
            },
            "recipients": {
              "type": "array",
              "description": "List of recipient addresses",
              "items": {
                "type": "string"
              },
              "example": [
                "tel:+12125559999"
              ]
            },
            "isUnread": {
              "type": "boolean",
              "description": "Whether the message has been read",
              "example": false
            },
            "isIncoming": {
              "type": "boolean",
              "description": "True if message was received, false if sent",
              "example": true
            },
            "type": {
              "type": "string",
              "description": "Message type",
              "enum": [
                "TEXT",
                "MMS"
              ],
              "example": "TEXT"
            },
            "typeCode": {
              "type": "string",
              "description": "Numeric type code",
              "example": "1"
            },
            "timeStamp": {
              "type": "string",
              "format": "date-time",
              "description": "Date and time the message was sent or received",
              "example": "2026-04-19T14:30:00Z"
            }
          }
        },
        {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "description": "Full text content of the message",
              "example": "Hello from the AT&T In-App Messaging API!"
            },
            "subject": {
              "type": "string",
              "description": "Subject line (MMS only)",
              "example": "Greeting"
            }
          }
        }
      ]
    }
  }
}