Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.1to1ai.com/llms.txt

Use this file to discover all available pages before exploring further.

The API offers four ways to send a WhatsApp message on behalf of your business. Which one you can use depends on the state of the conversation’s 24h window.

Which mode applies based on the window

ModeWindow openWindow closed
TextWINDOW_CLOSED
MediaWINDOW_CLOSED
Quick replyWINDOW_CLOSED
Template✅ — reopens the window
The template is the only message you can send with the window closed. On top of that, sending one reopens the window, enabling text, media, and quick reply again.

The four ways to send

Free-form text, up to 4096 characters, via POST /conversation/messages/text.
curl -X POST "https://app.1to1.ai/api/v1/public/{slug}/conversation/messages/text" \
  -H "Authorization: Bearer sk_1to1_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "conversation": { "phone": "+5215512345678" },
    "body": "Hi 👋, how can I help you?"
  }'
Accepts an optional reply_to_uuid to quote a previous message. Responds 201 with message_uuid and wamid.

Next steps

Templates

Create and send templates to reopen the window.

Conversations

Identifiers and the 24h window in detail.