Send a message to Meta AI
Sends a text message to the Meta AI assistant in WhatsApp. Leave `number` empty for a 1:1 chat with Meta AI, or pass a group JID to invoke it in a group. The reply streams back as `message.received` webhooks flagged `is_meta_ai` (the final chunk has `is_final: true`), or set `sync: true` to block and return the assembled answer in `answer`. Text only; works on personal accounts where Meta AI is available.
Sends a text message to the Meta AI assistant in WhatsApp. Leave number empty for a 1:1 chat with Meta AI, or pass a group JID to invoke it in a group. The reply streams back as message.received webhooks flagged is_meta_ai (the final chunk has is_final: true), or set sync: true to block and return the assembled answer in answer. Text only; works on personal accounts where Meta AI is available.
Authorization
bearerAuth Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/send/meta-ai" \ -H "Content-Type: application/json" \ -d '{ "text": "What\'s the capital of France?", "sync": true, "syncTimeoutSec": 30 }'{ "success": true, "message_id": "3EB0XXXX1234ABCD", "zaapId": "3EB0XXXX1234ABCD", "timestamp": "2026-06-19T14:30:00Z", "status": "answered", "chat_jid": "13135550002@s.whatsapp.net", "is_meta_ai": true, "answer": "The capital of France is Paris.", "answered": true}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}{ "success": false, "error": "validation failed", "error_code": "VALIDATION_ERROR", "timestamp": "2026-06-15T12:00:00Z"}Send a static location POST
Sends a pinned geographic location to a WhatsApp contact or group through WUTS. Latitude and longitude are required; an optional name, address, URL, comment, and JPEG thumbnail (base64 or remote URL) can be attached.
Pin or unpin a message in a chat POST
Pins or unpins a message in a one-to-one or group chat. Set `messageAction` to `pin` or `unpin` and pass the `messageId` of the target message. For `pin`, `pinMessageDuration` selects how long the message stays pinned (`24_hours`, `7_days`, or `30_days`). WUTS automatically detects whether the target message was sent by this account or received from the contact/participant, so the pinned-message banner resolves correctly on the recipient's device — you can override this with the optional `fromMe` and `participant` fields. Alias: `phone` for `to`.