Amazon Pinpoint · JSON Structure

Amazon Pinpoint Send Otp Message Request Parameters Structure

Send OTP message request parameters.

Type: object Properties: 11 Required: 5
CampaignsCommunicationsEmailMarketingMessagingPush NotificationsSMSVoiceCustomer EngagementSegmentationJourneysAnalytics

SendOTPMessageRequestParameters is a JSON Structure definition published by Amazon Pinpoint, describing 11 properties, of which 5 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

AllowedAttempts BrandName Channel CodeLength DestinationIdentity EntityId Language OriginationIdentity ReferenceId TemplateId ValidityPeriod

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-send-otp-message-request-parameters-structure.json",
  "name": "SendOTPMessageRequestParameters",
  "description": "Send OTP message request parameters.",
  "type": "object",
  "properties": {
    "AllowedAttempts": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The attempts allowed to validate an OTP."
        }
      ]
    },
    "BrandName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account."
        }
      ]
    },
    "Channel": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "Channel type for the OTP message. Supported values: [SMS]."
        }
      ]
    },
    "CodeLength": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The number of characters in the generated OTP."
        }
      ]
    },
    "DestinationIdentity": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The destination identity to send OTP to."
        }
      ]
    },
    "EntityId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "A unique Entity ID received from DLT after entity registration is approved."
        }
      ]
    },
    "Language": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The language to be used for the outgoing message body containing the OTP."
        }
      ]
    },
    "OriginationIdentity": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The origination identity used to send OTP from."
        }
      ]
    },
    "ReferenceId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "Developer-specified reference identifier. Required to match during OTP verification."
        }
      ]
    },
    "TemplateId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "A unique Template ID received from DLT after entity registration is approved."
        }
      ]
    },
    "ValidityPeriod": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "description": "The time in minutes before the OTP is no longer valid."
        }
      ]
    }
  },
  "required": [
    "BrandName",
    "ReferenceId",
    "Channel",
    "DestinationIdentity",
    "OriginationIdentity"
  ]
}