Templates

Create a template

Changed on

Create a new template in a workspace. Both generic and WhatsApp template bodies use {{1}}, {{2}}, and so on for variables, numbered consecutively in occurrence order without spaces or repeated numbers. Bind attributes through content.variables using the matching position. Single-brace text such as {1} is literal text, not a variable.

post/templates

Request

  • Base URL
    https://api.superchat.com/v1.0
  • URL
    https://api.superchat.com/v1.0/templates
  • Auth
    API key in header X-API-KEY

Request body

namestring required

The name of the template

folder_idstring nullable

The ID of the folder the template should be created in

whats_app_business_account_idstring nullable

The WhatsApp Business Account ID associated with the template

Example request

{
  "content": {
    "variables": [
      {
        "position": 1,
        "attribute_identifier": "first_name"
      }
    ]
  }
}

Response

OK

idstring required

The ID of the template

status'submitted' | 'approved' | 'rejected' | 'pending' | 'external_deleted' | 'unknown' | 'draft' | 'missing_after_migration' required
namestring required

The name of the template

created_atstring date-time required
updated_atstring date-time required
urlstring

The URL of the template resource

Example response

{
  "created_at": "2022-03-10T16:15:50Z",
  "updated_at": "2022-03-10T16:15:50Z"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property ///// became required

    • breaking

      the request property /////// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property /////// became required

    • breaking

      the request property /////// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property /////////// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ////////// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property ///// became required

    • breaking

      the request property /////// became required

    • breaking

      the request property /////// became required

    • breaking

      the request property became required

    • breaking

      removed the enum value afrikaans of the request property /////////

    • breaking

      removed the enum value albanian of the request property /////////

    • breaking

      removed the enum value arabic of the request property /////////

    • breaking

      removed the enum value azerbaijani of the request property /////////

    • breaking

      removed the enum value bengali of the request property /////////

    • breaking

      removed the enum value bulgarian of the request property /////////

    • breaking

      removed the enum value catalan of the request property /////////

    • breaking

      removed the enum value chinese_china of the request property /////////

    • breaking

      removed the enum value chinese_hong_kong of the request property /////////

    • breaking

      removed the enum value chinese_taiwan of the request property /////////

    • breaking

      removed the enum value croatian of the request property /////////

    • breaking

      removed the enum value czech of the request property /////////

    • breaking

      removed the enum value danish of the request property /////////

    • breaking

      removed the enum value dutch of the request property /////////

    • breaking

      removed the enum value english of the request property /////////

    • breaking

      removed the enum value english_britain of the request property /////////

    • breaking

      removed the enum value english_us of the request property /////////

    • breaking

      removed the enum value estonian of the request property /////////

    • breaking

      removed the enum value filipino of the request property /////////

    • breaking

      removed the enum value finnish of the request property /////////

    • breaking

      removed the enum value french of the request property /////////

    • breaking

      removed the enum value german of the request property /////////

    • breaking

      removed the enum value greek of the request property /////////

    • breaking

      removed the enum value gujarati of the request property /////////

    • breaking

      removed the enum value hausa of the request property /////////

    • breaking

      removed the enum value hebrew of the request property /////////

    • breaking

      removed the enum value hindi of the request property /////////

    • breaking

      removed the enum value hungarian of the request property /////////

    • breaking

      removed the enum value indonesian of the request property /////////

    • breaking

      removed the enum value irish of the request property /////////

    • breaking

      removed the enum value italian of the request property /////////

    • breaking

      removed the enum value japanese of the request property /////////

    • breaking

      removed the enum value kannada of the request property /////////

    • breaking

      removed the enum value kasahi of the request property /////////

    • breaking

      removed the enum value korean of the request property /////////

    • breaking

      removed the enum value lao of the request property /////////

    • breaking

      removed the enum value latvian of the request property /////////

    • breaking

      removed the enum value lithuanian of the request property /////////

    • breaking

      removed the enum value macedonian of the request property /////////

    • breaking

      removed the enum value malay of the request property /////////

    • breaking

      removed the enum value malayalam of the request property /////////

    • breaking

      removed the enum value marathi of the request property /////////

    • breaking

      removed the enum value norwegian of the request property /////////

    • breaking

      removed the enum value persian of the request property /////////

    • breaking

      removed the enum value polish of the request property /////////

    • breaking

      removed the enum value portuguese_brazil of the request property /////////

    • breaking

      removed the enum value portuguese_portugal of the request property /////////

    • breaking

      removed the enum value punjabi of the request property /////////

    • breaking

      removed the enum value romanian of the request property /////////

    • breaking

      removed the enum value russian of the request property /////////

    • breaking

      removed the enum value serbian of the request property /////////

    • breaking

      removed the enum value slovak of the request property /////////

    • breaking

      removed the enum value slovenian of the request property /////////

    • breaking

      removed the enum value spanish of the request property /////////

    • breaking

      removed the enum value spanish_argentina of the request property /////////

    • breaking

      removed the enum value spanish_mexico of the request property /////////

    • breaking

      removed the enum value spanish_spain of the request property /////////

    • breaking

      removed the enum value swahili of the request property /////////

    • breaking

      removed the enum value swedish of the request property /////////

    • breaking

      removed the enum value tamil of the request property /////////

    • breaking

      removed the enum value telugu of the request property /////////

    • breaking

      removed the enum value thai of the request property /////////

    • breaking

      removed the enum value turkish of the request property /////////

    • breaking

      removed the enum value ukrainian of the request property /////////

    • breaking

      removed the enum value urdu of the request property /////////

    • breaking

      removed the enum value uzbek of the request property /////////

    • breaking

      removed the enum value vietnamese of the request property /////////

    • breaking

      removed the enum value zulu of the request property /////////

    • info

      added the new af enum value to the request property /////////

    • info

      added the new ar enum value to the request property /////////

    • info

      added the new az enum value to the request property /////////

    • info

      added the new bg enum value to the request property /////////

    • info

      added the new bn enum value to the request property /////////

    • info

      added the new ca enum value to the request property /////////

    • info

      added the new cs enum value to the request property /////////

    • info

      added the new da enum value to the request property /////////

    • info

      added the new de enum value to the request property /////////

    • info

      added the new el enum value to the request property /////////

    • info

      added the new en enum value to the request property /////////

    • info

      added the new en_GB enum value to the request property /////////

    • info

      added the new en_US enum value to the request property /////////

    • info

      added the new es enum value to the request property /////////

    • info

      added the new es_AR enum value to the request property /////////

    • info

      added the new es_ES enum value to the request property /////////

    • info

      added the new es_MX enum value to the request property /////////

    • info

      added the new et enum value to the request property /////////

    • info

      added the new fa enum value to the request property /////////

    • info

      added the new fi enum value to the request property /////////

    • info

      added the new fil enum value to the request property /////////

    • info

      added the new fr enum value to the request property /////////

    • info

      added the new ga enum value to the request property /////////

    • info

      added the new gu enum value to the request property /////////

    • info

      added the new ha enum value to the request property /////////

    • info

      added the new he enum value to the request property /////////

    • info

      added the new hi enum value to the request property /////////

    • info

      added the new hr enum value to the request property /////////

    • info

      added the new hu enum value to the request property /////////

    • info

      added the new id enum value to the request property /////////

    • info

      added the new it enum value to the request property /////////

    • info

      added the new ja enum value to the request property /////////

    • info

      added the new kk enum value to the request property /////////

    • info

      added the new kn enum value to the request property /////////

    • info

      added the new ko enum value to the request property /////////

    • info

      added the new lo enum value to the request property /////////

    • info

      added the new lt enum value to the request property /////////

    • info

      added the new lv enum value to the request property /////////

    • info

      added the new mk enum value to the request property /////////

    • info

      added the new ml enum value to the request property /////////

    • info

      added the new mr enum value to the request property /////////

    • info

      added the new ms enum value to the request property /////////

    • info

      added the new nb enum value to the request property /////////

    • info

      added the new nl enum value to the request property /////////

    • info

      added the new pa enum value to the request property /////////

    • info

      added the new pl enum value to the request property /////////

    • info

      added the new pt_BR enum value to the request property /////////

    • info

      added the new pt_PT enum value to the request property /////////

    • info

      added the new ro enum value to the request property /////////

    • info

      added the new ru enum value to the request property /////////

    • info

      added the new sk enum value to the request property /////////

    • info

      added the new sl enum value to the request property /////////

    • info

      added the new sq enum value to the request property /////////

    • info

      added the new sr enum value to the request property /////////

    • info

      added the new sv enum value to the request property /////////

    • info

      added the new sw enum value to the request property /////////

    • info

      added the new ta enum value to the request property /////////

    • info

      added the new te enum value to the request property /////////

    • info

      added the new th enum value to the request property /////////

    • info

      added the new tr enum value to the request property /////////

    • info

      added the new uk enum value to the request property /////////

    • info

      added the new ur enum value to the request property /////////

    • info

      added the new uz enum value to the request property /////////

    • info

      added the new vi enum value to the request property /////////

    • info

      added the new zh_CN enum value to the request property /////////

    • info

      added the new zh_HK enum value to the request property /////////

    • info

      added the new zh_TW enum value to the request property /////////

    • info

      added the new zu enum value to the request property /////////

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property ////////// became required for the status

    • info

      the response property ////////// became required for the status

    • info

      the response property ////////// became required for the status

    • info

      the response property ////////// became required for the status

    • info

      the response property ////////// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property /////////// became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

      the response property became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status