---
title: "Send a template message with unstructured data"
method: POST
path: "/api/public/whatsapp/message/send/template/{templateId}"
tags: ["WhatsApp Message"]
---

# Send a template message with unstructured data

`POST /api/public/whatsapp/message/send/template/{templateId}`

Send a specific template message to a given phone number. Don't worry about the structure, if the data is in the body AI will take care of it. Optionally group sends into a campaign with a top-level "campaign" key ({ id, name? }): same id → same campaign (get-or-create; name is last-write-wins).

## Path parameters

- `templateId` string, required

## Query parameters

- `x-api-key` string, required
- `stage` string
- `from-phone-number` string, required

## Request body

- union
  - object
  - string, binary

## Response `201`

Message sent successfully.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.

---

[API](https://skmtc.net/vambe/apis/vambe-ai-api.md) · [All operations](https://skmtc.net/vambe/apis/vambe-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vambe/vambe-ai-api/versions/e206709d4be5/schema)
