POST
https://api.insightssystem.com
/
api:hFrjh8a1
/
send_template_message_by_api
curl -X POST \
  'https://api.insightssystem.com/api:hFrjh8a1/send_template_message_by_api' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "template": "f10695a9-38d6-4f5f-8444-1f7bf52c6164",
    "variables": {
      "body1": "Axel",
      "body2": "Shampoo",
      "body3": "$1",
      "media": "https://drive.google.com/file/d/1D35uTbceRPmCgwxVfBJZ2yxD2lQgs0bi/view?usp=sharing"
    },
    "phone_number": "123476529999"
  }'
{
  "success": true,
  "whatsapp_response_info": {
    "contacts": [
      {
        "input": "<string>",
        "wa_id": "<string>"
      }
    ],
    "messages": [
      {
        "id": "<string>",
        "message_status": "<string>"
      }
    ],
    "messaging_product": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Your Notifier System API Token

Body

application/json

Response

200
application/json

Message sent successfully

The response is of type object.