Sinch · Schema

WhatsappPartialTemplateDto

CommunicationsMessagingSMSVoiceVerificationCPaaSTelecommunicationsWhatsApp

Properties

Name Type Description
whatsappId string
state object
name string
language object
category object
rejectionCode object Rejection code if template is in status 'REJECTED'
qualityScore object Quality score of the HSM.
isMetaGenerated boolean Indicates if the template was auto-generated by Meta.
changes object Object containing changes on the template. If empty the changes has been approved and applied to the template.
details object Template details and information.
analytics array Template analytics.
View JSON Schema on GitHub

JSON Schema

sinch-whatsapp-partial-template-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-whatsapp-partial-template-dto-schema.json",
  "title": "WhatsappPartialTemplateDto",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-provisioning-api-openapi.yml#/components/schemas/WhatsappPartialTemplateDto",
  "type": "object",
  "properties": {
    "whatsappId": {
      "type": "string",
      "uniqueItems": false
    },
    "state": {
      "x-enumDescriptions": {
        "APPROVED": "The template is approved and available for use.",
        "DISABLED": "The template has been disabled and is restricted from outbound messaging operations.",
        "PAUSED": "The template is temporarily paused and cannot be utilized until explicitly resumed.",
        "PENDING": "The template is queued and currently awaiting approval or processing milestones.",
        "REJECTED": "The template was rejected and cannot be used."
      },
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappTemplateStatesEnum"
        }
      ]
    },
    "name": {
      "type": "string",
      "uniqueItems": false
    },
    "language": {
      "x-enumDescriptions": {
        "AF": "The language configuration is set to Afrikaans.",
        "AR": "The language configuration is set to Arabic.",
        "AZ": "The language configuration is set to Azerbaijani.",
        "BG": "The language configuration is set to Bulgarian.",
        "BN": "The language configuration is set to Bengali.",
        "CA": "The language configuration is set to Catalan.",
        "CS": "The language configuration is set to Czech.",
        "DA": "The language configuration is set to Danish.",
        "DE": "The language configuration is set to German.",
        "EL": "The language configuration is set to Greek.",
        "EN": "The language configuration is set to English.",
        "EN_GB": "The language configuration is set to British English.",
        "EN_US": "The language configuration is set to American English.",
        "ES": "The language configuration is set to Spanish.",
        "ES_AR": "The language configuration is set to Argentinian Spanish.",
        "ES_ES": "The language configuration is set to European Spanish.",
        "ES_MX": "The language configuration is set to Mexican Spanish.",
        "ES_UY": "The language configuration is set to Uruguayan Spanish.",
        "ET": "The language configuration is set to Estonian.",
        "FA": "The language configuration is set to Persian.",
        "FI": "The language configuration is set to Finnish.",
        "FIL": "The language configuration is set to Filipino.",
        "FR": "The language configuration is set to French.",
        "GA": "The language configuration is set to Irish.",
        "GU": "The language configuration is set to Gujarati.",
        "HA": "The language configuration is set to Hausa.",
        "HE": "The language configuration is set to Hebrew.",
        "HI": "The language configuration is set to Hindi.",
        "HR": "The language configuration is set to Croatian.",
        "HU": "The language configuration is set to Hungarian.",
        "ID": "The language configuration is set to Indonesian.",
        "IT": "The language configuration is set to Italian.",
        "JA": "The language configuration is set to Japanese.",
        "KA": "The language configuration is set to Georgian.",
        "KK": "The language configuration is set to Kazakh.",
        "KN": "The language configuration is set to Kannada.",
        "KO": "The language configuration is set to Korean.",
        "KY_KG": "The language configuration is set to Kyrgyz.",
        "LO": "The language configuration is set to Lao.",
        "LT": "The language configuration is set to Lithuanian.",
        "LV": "The language configuration is set to Latvian.",
        "MK": "The language configuration is set to Macedonian.",
        "ML": "The language configuration is set to Malayalam.",
        "MR": "The language configuration is set to Marathi.",
        "MS": "The language configuration is set to Malay.",
        "NB": "The language configuration is set to Norwegian.",
        "NL": "The language configuration is set to Dutch.",
        "PA": "The language configuration is set to Punjabi.",
        "PL": "The language configuration is set to Polish.",
        "PT_BR": "The language configuration is set to Brazilian Portuguese.",
        "PT_PT": "The language configuration is set to European Portuguese.",
        "RO": "The language configuration is set to Romanian.",
        "RU": "The language configuration is set to Russian.",
        "RW_RW": "The language configuration is set to Kinyarwanda.",
        "SK": "The language configuration is set to Slovak.",
        "SL": "The language configuration is set to Slovenian.",
        "SQ": "The language configuration is set to Albanian.",
        "SR": "The language configuration is set to Serbian.",
        "SV": "The language configuration is set to Swedish.",
        "SW": "The language configuration is set to Swahili.",
        "TA": "The language configuration is set to Tamil.",
        "TE": "The language configuration is set to Telugu.",
        "TH": "The language configuration is set to Thai.",
        "TR": "The language configuration is set to Turkish.",
        "UK": "The language configuration is set to Ukrainian.",
        "UR": "The language configuration is set to Urdu.",
        "UZ": "The language configuration is set to Uzbek.",
        "VI": "The language configuration is set to Vietnamese.",
        "ZH_CN": "The language configuration is set to Simplified Chinese.",
        "ZH_HK": "The language configuration is set to Traditional Chinese (Hong Kong).",
        "ZH_TW": "The language configuration is set to Traditional Chinese (Taiwan).",
        "ZU": "The language configuration is set to Zulu.",
        "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
      },
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappTemplateLanguagesEnum"
        }
      ]
    },
    "category": {
      "x-enumDescriptions": {
        "AUTHENTICATION": "Billing or functional category for authentication and verification messages.",
        "MARKETING": "Billing or functional category for promotional or marketing messages.",
        "UTILITY": "Billing or functional category for utility and service-related messages.",
        "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
      },
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappTemplateCategoryEnum"
        }
      ]
    },
    "rejectionCode": {
      "x-enumDescriptions": {
        "ABUSIVE_CONTENT": "The upstream gateway rejected the layout because the messaging copy violated safety, spam, or abuse criteria.",
        "INCORRECT_CATEGORY": "The upstream gateway rejected the layout because the business vertical classification does not align with the actual content.",
        "INVALID_FORMAT": "The upstream gateway rejected the layout because variable placeholders, syntax parameters, or media configurations are invalid.",
        "NONE": "The template has not faced any restriction codes or rejection events.",
        "SCAM": "The upstream gateway rejected the layout because the text patterns match fraudulent, deceptive, or financial scam signatures.",
        "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
      },
      "description": "Rejection code if template is in status 'REJECTED'",
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappTemplateRejectionCodeEnum"
        }
      ]
    },
    "qualityScore": {
      "x-enumDescriptions": {
        "QUALITY_SCORE_GREEN": "Indicates an optimal template delivery standing reflecting low user block counts.",
        "QUALITY_SCORE_RED": "Indicates a severely degraded template standing, which may trigger suspension or delivery throttling.",
        "QUALITY_SCORE_YELLOW": "Indicates a warning template standing reflecting a notable increase in recent opt-out actions.",
        "QUALITY_SCORE_UNKNOWN": "The platform has not collected sufficient telemetry data to compute an active quality rating.",
        "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
      },
      "description": "Quality score of the HSM.",
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappTemplateQualityScoreEnum"
        }
      ]
    },
    "isMetaGenerated": {
      "type": "boolean",
      "description": "Indicates if the template was auto-generated by Meta.",
      "uniqueItems": false
    },
    "changes": {
      "description": "Object containing changes on the template. If empty the changes has been approved and applied to the template.",
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappPartialTemplateChangesDto"
        }
      ]
    },
    "details": {
      "description": "Template details and information.",
      "uniqueItems": false,
      "allOf": [
        {
          "$ref": "#/$defs/WhatsappPartialTemplateDetailsDto"
        }
      ]
    },
    "analytics": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WhatsappPartialTemplateAnalyticsDto"
      },
      "description": "Template analytics.",
      "uniqueItems": false
    }
  },
  "$defs": {
    "WhatsappBidStrategiesEnum": {
      "type": "string",
      "enum": [
        "BID_STRATEGY_LOWEST_COST_WITH_BID_CAP",
        "BID_STRATEGY_UNSPECIFIED",
        "UNRECOGNIZED"
      ],
      "description": "Bid strategy returned for the template optimization configuration."
    },
    "WhatsappBodyComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BODY": "Defines the primary structural layout block containing the main text message and variables."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeBodyEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        },
        "addSecurityRecommendation": {
          "type": "boolean",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappButtonTypeCopyCodeEnum": {
      "type": "string",
      "const": "COPY_CODE"
    },
    "WhatsappButtonTypeEnum": {
      "type": "string",
      "const": "FLOW"
    },
    "WhatsappButtonTypeOrderDetailsEnum": {
      "type": "string",
      "const": "ORDER_DETAILS"
    },
    "WhatsappButtonTypeOtpEnum": {
      "type": "string",
      "const": "OTP"
    },
    "WhatsappButtonTypePhoneNumberEnum": {
      "type": "string",
      "const": "PHONE_NUMBER"
    },
    "WhatsappButtonTypeQuickReplyEnum": {
      "type": "string",
      "const": "QUICK_REPLY"
    },
    "WhatsappButtonTypeRequestContactInfoEnum": {
      "type": "string",
      "const": "REQUEST_CONTACT_INFO"
    },
    "WhatsappButtonTypeUrlEnum": {
      "type": "string",
      "const": "URL"
    },
    "WhatsappButtonsComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BUTTONS": "Defines the interactive layout block hosting quick reply or call-to-action components."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeButtonsEnum"
            }
          ]
        },
        "buttons": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappPhoneNumberButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappUrlButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappQuickReplyButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappOtpButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappFlowButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappRequestContactInfoButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappOrderDetailsButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappCopyCodeButtonDto"
              }
            ]
          },
          "uniqueItems": false
        }
      },
      "required": [
        "type",
        "buttons"
      ]
    },
    "WhatsappCardBodyComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BODY": "Defines the primary structural layout block containing the main text message and variables."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeBodyEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "description": "Card body text.",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappCardButtonsComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BUTTONS": "Defines the interactive layout block hosting quick reply or call-to-action components."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeButtonsEnum"
            }
          ]
        },
        "buttons": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappUrlButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappQuickReplyButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPhoneNumberButtonDto"
              }
            ]
          },
          "description": "Card buttons.",
          "uniqueItems": false
        }
      },
      "required": [
        "type",
        "buttons"
      ]
    },
    "WhatsappCardDto": {
      "type": "object",
      "properties": {
        "components": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappCardHeaderComponentDto"
              },
              {
                "$ref": "#/$defs/WhatsappCardBodyComponentDto"
              },
              {
                "$ref": "#/$defs/WhatsappCardButtonsComponentDto"
              }
            ]
          },
          "description": "List of components in the cards.",
          "uniqueItems": false
        }
      },
      "required": [
        "components"
      ]
    },
    "WhatsappCardHeaderComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "HEADER": "Defines the high-visibility structural layout block used for introductory text or rich media assets."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeHeaderEnum"
            }
          ]
        },
        "format": {
          "x-enumDescriptions": {
            "IMAGE": "Configures the structural template header block to host static image media assets.",
            "VIDEO": "Configures the structural template header block to host short video media assets."
          },
          "description": "Card header format.",
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappCardHeaderComponentFormatsEnum"
            }
          ]
        }
      },
      "required": [
        "type",
        "format"
      ]
    },
    "WhatsappCardHeaderComponentFormatsEnum": {
      "type": "string",
      "enum": [
        "IMAGE",
        "VIDEO"
      ],
      "description": "Card header format."
    },
    "WhatsappCarouselComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "CAROUSEL": "Defines a dynamic multimedia block configured with horizontal scrolling multi-card cards."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeCarouselEnum"
            }
          ]
        },
        "cards": {
          "description": "Media cards.",
          "uniqueItems": false,
          "type": "array",
          "items": {
            "$ref": "#/$defs/WhatsappCardDto"
          }
        }
      },
      "required": [
        "type",
        "cards"
      ]
    },
    "WhatsappComponentTypeBodyEnum": {
      "type": "string",
      "const": "BODY"
    },
    "WhatsappComponentTypeButtonsEnum": {
      "type": "string",
      "const": "BUTTONS"
    },
    "WhatsappComponentTypeCarouselEnum": {
      "type": "string",
      "const": "CAROUSEL"
    },
    "WhatsappComponentTypeFooterEnum": {
      "type": "string",
      "const": "FOOTER"
    },
    "WhatsappComponentTypeHeaderEnum": {
      "type": "string",
      "const": "HEADER"
    },
    "WhatsappComponentTypeLimitedTimeOfferEnum": {
      "type": "string",
      "const": "LIMITED_TIME_OFFER"
    },
    "WhatsappCopyCodeButtonDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "COPY_CODE": "Defines an interactive component that copies a code snippet."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappButtonTypeCopyCodeEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappFlowActionEnum": {
      "type": "string",
      "enum": [
        "DATA_EXCHANGE",
        "NAVIGATE",
        "UNKNOWN",
        "UNRECOGNIZED"
      ],
      "description": "Flow action"
    },
    "WhatsappFlowButtonDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "FLOW": "Defines an interactive component that initializes an embedded native rich interaction flow."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappButtonTypeEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "description": "Text to display on the Flow button",
          "uniqueItems": false
        },
        "flowId": {
          "type": "string",
          "description": "Flow ID to launch when button is pressed",
          "uniqueItems": false
        },
        "flowAction": {
          "x-enumDescriptions": {
            "DATA_EXCHANGE": "Triggers an asynchronous data synchronization payload transfer with the configured webhook or API endpoint.",
            "NAVIGATE": "Advances the interactive user workflow viewport context to the subsequent structural layout step.",
            "UNKNOWN": "The targeted interaction action code type cannot be resolved.",
            "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
          },
          "description": "Flow action",
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappFlowActionEnum"
            }
          ]
        },
        "navigateScreen": {
          "type": "string",
          "description": "The unique ID of the first screen. Required for Navigate action.",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappFooterComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "FOOTER": "Defines the supplementary structural layout block used for faint text copy or legal disclaimers."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeFooterEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        },
        "codeExpirationMinutes": {
          "type": "number",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappLimitedTimeOfferComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "LIMITED_TIME_OFFER": "Defines a dynamic structural layout block for showcasing time-sensitive promotional offers and urgency-driven purchase incentives."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeLimitedTimeOfferEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "description": "Offer details text.",
          "uniqueItems": false
        },
        "hasExpiration": {
          "type": "boolean",
          "description": "Indicates if the offer expiration details appear in the delivered message.",
          "uniqueItems": false
        }
      },
      "required": [
        "type",
        "hasExpiration"
      ]
    },
    "WhatsappLocationHeaderComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "HEADER": "Defines the high-visibility structural layout block used for introductory text or rich media assets."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeHeaderEnum"
            }
          ]
        },
        "format": {
          "x-enumDescriptions": {
            "LOCATION": "Configures the structural template header block to host coordinate and geolocational location arrays."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappLocationHeaderComponentFormatEnum"
            }
          ]
        }
      },
      "required": [
        "type",
        "format"
      ]
    },
    "WhatsappLocationHeaderComponentFormatEnum": {
      "type": "string",
      "const": "LOCATION"
    },
    "WhatsappMediaHeaderComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "HEADER": "Defines the high-visibility structural layout block used for introductory text or rich media assets."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeHeaderEnum"
            }
          ]
        },
        "format": {
          "x-enumDescriptions": {
            "IMAGE": "Configures the structural template header block to host static image media assets.",
            "VIDEO": "Configures the structural template header block to host short video media assets.",
            "DOCUMENT": "Configures the structural template header block to host file and document media assets."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappMediaHeaderComponentFormatEnum"
            }
          ]
        }
      },
      "required": [
        "type",
        "format"
      ]
    },
    "WhatsappMediaHeaderComponentFormatEnum": {
      "type": "string",
      "enum": [
        "DOCUMENT",
        "IMAGE",
        "VIDEO"
      ]
    },
    "WhatsappMediaHeaderExampleDto": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "url",
          "uniqueItems": false
        }
      }
    },
    "WhatsappOrderDetailsButtonDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "ORDER_DETAILS": "Defines an interactive component that directs the customer to systemic order tracking metadata views."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappButtonTypeOrderDetailsEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        }
      },
      "required": [
        "type"
      ]
    },
    "WhatsappOtpButtonDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "OTP": "Defines an interactive component configured to transmit immediate high-volume verification tokens."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappButtonTypeOtpEnum"
            }
          ]
        },
        "otpType": {
          "x-enumDescriptions": {
            "COPY_CODE": "Configures the verification layout to present a plain-text code that the user can manually copy or transfer.",
            "ONE_TAP": "Configures the verification layout to invoke a native device callback wrapper, requiring a single tap confirmation from the user.",
            "ZERO_TAP": "Configures the verification layout to execute automated background authentication handshake layers without requiring manual user input.",
            "UNRECOGNIZED": "The value returned by an upstream system is not recognized by this API version."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappOtpTypeEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        },
        "autofillText": {
          "type": "string",
          "uniqueItems": false
        },
        "packageName": {
          "type": "string",
          "deprecated": true,
          "uniqueItems": false
        },
        "signatureHash": {
          "type": "string",
          "deprecated": true,
          "uniqueItems": false
        },
        "supportedApps": {
          "uniqueItems": false,
          "type": "array",
          "items": {
            "$ref": "#/$defs/WhatsappSupportedAppDto"
          }
        },
        "zeroTapTermsAccepted": {
          "type": "boolean",
          "uniqueItems": false
        }
      },
      "required": [
        "type",
        "otpType"
      ]
    },
    "WhatsappOtpTypeEnum": {
      "type": "string",
      "enum": [
        "COPY_CODE",
        "ONE_TAP",
        "ZERO_TAP",
        "UNRECOGNIZED"
      ]
    },
    "WhatsappPartialBodyComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BODY": "Defines the primary structural layout block containing the main text message and variables."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeBodyEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "uniqueItems": false
        },
        "addSecurityRecommendation": {
          "type": "boolean",
          "uniqueItems": false
        }
      }
    },
    "WhatsappPartialButtonsComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BUTTONS": "Defines the interactive layout block hosting quick reply or call-to-action components."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeButtonsEnum"
            }
          ]
        },
        "buttons": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappPartialPhoneNumberButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialUrlButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialQuickReplyButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialOtpButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialFlowButtonDto"
              }
            ]
          },
          "uniqueItems": false
        }
      }
    },
    "WhatsappPartialCardBodyComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BODY": "Defines the primary structural layout block containing the main text message and variables."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeBodyEnum"
            }
          ]
        },
        "text": {
          "type": "string",
          "description": "Card body text.",
          "uniqueItems": false
        }
      }
    },
    "WhatsappPartialCardButtonsComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "BUTTONS": "Defines the interactive layout block hosting quick reply or call-to-action components."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeButtonsEnum"
            }
          ]
        },
        "buttons": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappPartialUrlButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialQuickReplyButtonDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialPhoneNumberButtonDto"
              }
            ]
          },
          "description": "Card buttons.",
          "uniqueItems": false
        }
      }
    },
    "WhatsappPartialCardDto": {
      "type": "object",
      "properties": {
        "components": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/WhatsappPartialCardHeaderComponentDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialCardBodyComponentDto"
              },
              {
                "$ref": "#/$defs/WhatsappPartialCardButtonsComponentDto"
              }
            ]
          },
          "description": "List of components in the cards.",
          "uniqueItems": false
        }
      }
    },
    "WhatsappPartialCardHeaderComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "HEADER": "Defines the high-visibility structural layout block used for introductory text or rich media assets."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeHeaderEnum"
            }
          ]
        },
        "format": {
          "x-enumDescriptions": {
            "IMAGE": "Configures the structural template header block to host static image media assets.",
            "VIDEO": "Configures the structural template header block to host short video media assets."
          },
          "description": "Card header format.",
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappCardHeaderComponentFormatsEnum"
            }
          ]
        }
      }
    },
    "WhatsappPartialCarouselComponentDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "CAROUSEL": "Defines a dynamic multimedia block configured with horizontal scrolling multi-card cards."
          },
          "uniqueItems": false,
          "allOf": [
            {
              "$ref": "#/$defs/WhatsappComponentTypeCarouselEnum"
            }
          ]
        },
        "cards": {
          "description": "Media cards.",
          "uniqueItems": false,
          "type": "array",
          "items": {
            "$ref": "#/$defs/WhatsappPartialCardDto"
          }
        }
      }
    },
    "WhatsappPartialFlowButtonDto": {
      "type": "object",
      "properties": {
        "type": {
          "x-enumDescriptions": {
            "FLOW": "Defines an interactive component that initializes an embedded

# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sinch/refs/heads/main/json-schema/sinch-whatsapp-partial-template-dto-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sinch-whatsapp-partial-template-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.