Whats App

Retrieving Message Templates

GET
/conversation/wab/v1/templates/

Use the wab/v1/templates endpoint to retrieve your approved WhatsApp templates

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Query Parameters

limit?integer

limit is an optional parameter defines the maximum number of templates returned in a single API call.

Formatint32

Response Body

application/json

application/json

curl -X GET "https://example.com/conversation/wab/v1/templates/"
"{\n  \"meta\": {\n    \"version\": \"1.0.0\"\n  },\n  \"data\": {\n    \"commercialTemplates\": [\n      {\n        \"name\": \"appointment_confirmation_arabic\",\n        \"components\": [\n          {\n            \"type\": \"HEADER\",\n            \"format\": \"TEXT\",\n            \"text\": \"تم حجز موعدك بنجاح {{1}}\"\n          },\n          {\n            \"type\": \"BODY\",\n            \"text\": \"نقوم بإرسال هذه الرسالة لتأكيد موعدك مع {{1}}.  لمزيد من المعلومات ،تواصل معنا على {{2}}.\"\n          },\n          {\n            \"type\": \"FOOTER\",\n            \"text\": \"هذه الرسالة برعاية شركة سيكونس\"\n          },\n          {\n            \"type\": \"BUTTONS\",\n            \"buttons\": [\n              {\n                \"type\": \"URL\",\n                \"text\": \"تواصل معنا\",\n                \"url\": \"https://www.cequens.com/contact-us\"\n              }\n            ]\n          }\n        ],\n        \"language\": \"ar\",\n        \"status\": \"APPROVED\",\n        \"category\": \"APPOINTMENT_UPDATE\",\n        \"id\": \"603639237195456\"\n      },\n      {\n        \"name\": \"appointment_confirmation_eng\",\n        \"components\": [\n          {\n            \"type\": \"HEADER\",\n            \"format\": \"TEXT\",\n            \"text\": \"Thank you for booking a meeting, {{1}}.\"\n          },\n          {\n            \"type\": \"BODY\",\n            \"text\": \"We're sending this message to confirm your meeting appointment with {{1}}. For more information, don't hesitate to contact us on {{2}}. See you then!\"\n          },\n          {\n            \"type\": \"FOOTER\",\n            \"text\": \"This Template Message is powered by CEQUENS.\"\n          },\n          {\n            \"type\": \"BUTTONS\",\n            \"buttons\": [\n              {\n                \"type\": \"URL\",\n                \"text\": \"Contact Us\",\n                \"url\": \"https://www.cequens.com/contact-sales\"\n              }\n            ]\n          }\n        ],\n        \"language\": \"en\",\n        \"status\": \"APPROVED\",\n        \"category\": \"APPOINTMENT_UPDATE\",\n        \"id\": \"278144336595645\"\n      }\n    ]\n  }\n}"