Skip to main content
POST
/
v3
/
{wabaid}
/
message_templates
Create Authentication One-Tap Template
curl --request POST \
  --url https://one.telepie.com/v3/{wabaid}/message_templates \
  --header 'apikey: <api-key>'

Request Body Parameters

wabaid
string
required
Specifies the whatsapp business account id.
{
  "name": "prod_vk_one_tap_0",
  "language": "en_US",
  "category": "authentication",
  "message_send_ttl_seconds": 600,
  "components": [
    {
      "type": "body",
      "add_security_recommendation": true
    },
    {
      "type": "footer",
      "code_expiration_minutes": 90
    },
    {
      "type": "buttons",
      "buttons": [
        {
          "type": "otp",
          "otp_type": "one_tap",
          "text": "copy code",
          "autofill_text": "copy code",
          "supported_apps": [
            {
              "package_name": "com.example.androidapp",
              "signature_hash": "K8a/2FAINcG"
            }
          ]
        }
      ]
    }
  ]
}