Create Template

Create a new WhatsApp message template

post

Creates a WhatsApp message template for the specified business using the required and optional fields per WhatsApp's guidelines.

Path parameters
businessnamestringRequired

The name of the business for which the template is being created.

Body
namestringRequired

Unique name for the template (lowercase letters and underscores only, no spaces).

Example: order_confirmation
categorystring · enumRequired

Template category, following WhatsApp-supported categories such as TRANSACTIONAL, MARKETING, or OTP.

Example: TRANSACTIONALPossible values:
languagestringRequired

Language code for the template (ISO 639-1 code). See WhatsApp documentation for supported codes.

Example: en
Responses
post
/user/templates
POST /ext/v2/examplebusiness/user/templates HTTP/1.1
Host: api.pingueen.it
Content-Type: application/json
Accept: */*
Content-Length: 153

{
  "name": "order_confirmation",
  "category": "TRANSACTIONAL",
  "language": "en",
  "components": [
    {
      "type": "HEADER",
      "text": "Order {{1}} confirmed!",
      "format": "TEXT"
    }
  ]
}
{
  "success": true
}

Last updated