Skip to main content
Version: 1.0

WhatsAppTemplate

idstringrequired
components object[]
  • Array [
  • typestringrequired

    Possible values: [header, body, button]

    parameters object[]
  • Array [
  • typestringrequired

    Possible values: [text, image, document, video, location]

    textstring
    image object
    linkstring
    document object
    linkstring
    filenamestring
    video object
    linkstring
    location object
    latitudenumberrequired

    Possible values: >= -90 and <= 90

    longitudenumberrequired

    Possible values: >= -180 and <= 180

    namestring
    addressstring
  • ]
  • sub_typestring

    Possible values: [url, quick_reply]

    indexnumber
  • ]
  • WhatsAppTemplate
    {
    "id": "string",
    "components": [
    {
    "type": "header",
    "parameters": [
    {
    "type": "text",
    "text": "string",
    "image": {
    "link": "string"
    },
    "document": {
    "link": "string",
    "filename": "string"
    },
    "video": {
    "link": "string"
    },
    "location": {
    "latitude": 0,
    "longitude": 0,
    "name": "string",
    "address": "string"
    }
    }
    ],
    "sub_type": "url",
    "index": 0
    }
    ]
    }