WaMCP
Api referencemessaging

Send Template

Send a template message.

POST
/api/messaging/send-template

Send a template message.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/messaging/send-template" \  -H "Content-Type: application/json" \  -d '{    "client_id": "string",    "to": "string",    "template_name": "string",    "lang": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}