Skip to content

Get Templates

GET
/open/whatsapp/template

Fetch your approved WhatsApp message templates. Note: This API requires X-API-VASKEY in the header for authentication. Before you begin, please make sure you've followed our Getting Started guide.

history

Request History

Your request history will appear here.

Run Try It to load the first page.

Responses

RESPONSE BODY
statusinteger
Transaction status (1 for success).
codestring
Success or error code.
messagestring
Response message.
dataarray
Array of template objects.
nextstring | null
Opaque cursor for the next page, or null when there are no further templates.
RESPONSE BODY
statusinteger
Transaction status (1 for success).
codestring
Success or error code.
messagestring
Response message.
dataarray
Array of template objects.
nextstring | null
Opaque cursor for the next page, or null when there are no further templates.
RESPONSE BODY
statusinteger
Transaction status (1 for success).
codestring
Success or error code.
messagestring
Response message.
dataarray
Array of template objects.
nextstring | null
Opaque cursor for the next page, or null when there are no further templates.

Language

Credentials

X-API-VASKEY
curl --request GET \     --url 'https://api.moolre.com/open/whatsapp/template' \     --header 'X-API-VASKEY: YOUR_WHATSAPP_X_API_VASKEY'

Response

Body

{  "status": 1,  "code": "WAS200",  "message": "Templates retrieved successfully",  "data": [    {      "id": "1218877297066056",      "name": "promotion",      "language": "en",      "status": "APPROVED",      "message": "Hello {{1}},\n\nMelchizedek Technologies would like to share information about our {{2}} designed to support businesses like {{3}}.\n\nIf you would like to learn more or speak with our team, please reply to this message and we will be happy to assist.\n",      "placeholders": [        "1",        "2",        "3"      ]    }  ],  "next": "opaque-cursor-for-the-next-page",  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}