Brauchen Sie Hilfe? Schreiben Sie uns auf WhatsAppPer WhatsApp schreiben+33 7 67 93 66 56Chat öffnen
KI-Coding-Agenten · Whatsable

Vibe Code WhatsApp-Automatisierung

Fügen Sie einen Prompt in Ihren KI-Coding-Agenten ein. Er ergänzt Ihre App mit der Whatsable API v1 um WhatsApp, also um den Weg, über den Ihr Code WhatsApp-Nachrichten sendet und empfängt, und bittet Sie zuerst, Ihren Schlüssel als Secret zu speichern.

Funktioniert mit Ihrem Agenten

OpenClawCursorClaude CodeGitHub CopilotGemini CLIAmpRoo CodeJunieOpenHands
Schnellstart

Kopieren Sie einen Prompt für Ihre Plattform

Wählen Sie den Tab Ihrer Plattform, kopieren Sie den Prompt und fügen Sie ihn in Ihren KI-Agenten ein. Der Prompt baut auf der Whatsable API v1 auf und bittet Sie, Ihren API-Schlüssel als Secret zu speichern.

Standard

Gesamten Prompt kopieren

Fügen Sie dies in den Chat Ihres KI-Agenten ein, um die Einrichtung zu starten.

Agent-Prompt
Add WhatsApp to this project with the Whatsable API v1.
First, ask me to save my Whatsable API key as the secret WHATSABLE_API_KEY: in my platform's secrets store, or in a local .env file that git ignores. Never hard-code the key, commit it to git, or send it to frontend code.
API reference: https://docs.whatsable.app/api-reference/v1
OpenAPI file: https://api.whatsable.app/v1/openapi.json
Base URL: https://api.whatsable.app/v1
Auth header: Authorization: Bearer <WHATSABLE_API_KEY>
Build rules:
- Call the API only from server-side code (an edge or backend function), never from the browser.
- Test the connection with GET /v1/me.
- Send messages with POST /v1/messages. Phone numbers are E.164 with a leading +.
- To message someone first, or more than 24 hours after their last message, send an approved template: {"to": "+15551234567", "type": "template", "template": {"name": "<template name>", "language": "<language code>", "variables": {}}}.
- Inside the 24-hour window you can send text: {"to": "+15551234567", "type": "text", "text": {"body": "Hi!"}}.
- A 201 means Whatsable recorded the message. Read "status" in the body: "sent" or "failed". Don't resend a failed message whose error is not retryable.
- Send an Idempotency-Key header with each send. Reuse it only to retry a send that got no answer; after a "failed" send with "retryable": true, retry later with a new key.
- To receive messages, add a backend function and point a Whatsable webhook at its URL (Settings → Webhooks → Add endpoint, turn on Incoming messages).
Confirm the secret is set, then build the send flow for my use case.
Prefer to work through your AI assistant instead of code? Connect the Whatsable MCP server: https://docs.whatsable.app/mcp/agent-skill
Erfordert die Whatsable-Konsole

Die erste WhatsApp-Verbindung, die Abrechnung und die Vorlagenfreigabe durch Meta lassen sich nicht über Lovable erledigen. Schließen Sie diese Schritte zuerst in der Konsole ab.

Referenz zur Whatsable API v1

So funktioniert es

Mit einem KI-Agenten arbeiten oder Code schreiben

MCP ist der offene Standard, mit dem KI-Apps wie Claude, ChatGPT und Cursor Tools aufrufen. Sie fragen in einfachen Worten, und der Assistent erledigt die Arbeit in Whatsable. Ihr Code kann für dieselben Aufgaben die Whatsable API v1 nutzen.

Ein Agent Skill

Ein Whatsable Agent Skill zeigt Ihrem KI-Agenten, wie er den Whatsable-MCP-Server verbindet. Er enthält keine Skripte: Der Server listet seine Tools selbst auf. Für Ihren eigenen Code nutzen Sie die Whatsable API v1.

Der Whatsable MCP-Server

Fügen Sie Whatsable zu Ihrer KI-App hinzu. Die App öffnet eine Whatsable-Seite, auf der Sie sich anmelden und festlegen, was die App darf und welche Nummern sie nutzen kann. Sie können den Zugriff jederzeit widerrufen.

Tarife Pro und Agency

Die Whatsable-API und den MCP-Server gibt es bei Pro und Agency, nicht bei Bulk Message.

Funktionen

Was Ihr Agent kann

Ihr Agent kann über den Whatsable MCP-Server mit dem Konto und seinen Nummern, Nachrichten, Konversationen und der KI in jeder davon, Vorlagen, Kontakten und Labels, geplanten Nachrichten, Broadcasts und KI-Agenten arbeiten.

Konto und Nummern

Sehen Sie, zu welchem Konto diese Verbindung gehört, was sie darf, welche WhatsApp-Nummern es gibt und wer zum Team gehört. Nur Lesezugriff.

Nachrichten und Konversationen

Konversationen lesen, Textnachrichten innerhalb des 24-Stunden-Fensters senden und Vorlagen für Erstnachrichten oder nach 24 Stunden senden.

KI in Konversationen und Agenten

Mit der KI in jeder Konversation arbeiten und KI-Agenten verwalten.

Vorlagen, Geplantes, Broadcasts

Vorlagen, geplante Nachrichten und Broadcasts verwalten.

Kontakte und Labels

Kontakte und Labels lesen und verwalten, um Ihre WhatsApp-Konversationen zu organisieren.

Maschinenlesbar

Für KI-Agenten, die diese Seite lesen

Ein Whatsable Agent Skill zeigt Ihrem KI-Agenten, wie er den Whatsable-MCP-Server verbindet. Er enthält keine Skripte: Der Server listet seine Tools selbst auf. Für Ihren eigenen Code nutzen Sie die Whatsable API v1.

Für KI-Agenten
- Every Whatsable API route starts with https://api.whatsable.app/v1.
- Send your API key in the Authorization header: Authorization: Bearer <your Whatsable API key>.
- In Whatsable, open Settings → API keys and click Create API key. Copy the key.
- A key from the legacy Whatsable API doesn't work with API v1.
- The Whatsable API and MCP server are on Pro and Agency, not Bulk Message.
- Server URL: https://api.whatsable.app/mcp. Sign in with OAuth from your AI app, or send an API key as a Bearer header.
- The account and its numbers, messages, conversations and the AI in each one, templates, contacts and labels, scheduled messages, broadcasts and AI agents.

Häufige Stolperfallen

Stolperfallen
- Free-text and media only work inside the 24-hour window; otherwise send an approved template.
- A key from the legacy Whatsable API doesn't work with API v1.
- Keep the key in a secrets store or a git-ignored .env file. Never hard-code it, commit it, or send it to frontend code.
- A 201 means Whatsable recorded the message. Read "status" in the body: "sent" or "failed".
- Send an Idempotency-Key header with each send. Reuse it only to retry a send that got no answer; after a "failed" send with "retryable": true, retry later with a new key.
- First-time WhatsApp connection (Meta embedded signup) is browser-only in the Whatsable console.

Bereit, WhatsApp mit Ihrem KI-Agenten zu automatisieren?

Verbinden Sie den Whatsable MCP-Server oder entwickeln Sie auf der Whatsable API v1 und liefern Sie WhatsApp-Automatisierung direkt aus Ihrem Editor.

Pro mit 7 Tagen kostenlosem Test · Einrichtung in 6 Minuten · Jederzeit kündbar

Kostenlos testen
Chat