Communication

WhatsApp in your product and your AI agents, through one API

The WhatsApp Cloud API toolkit covers business accounts, phone numbers, sending messages, message templates and the business profile of a number. Through Connect your product or AI agent calls them with one endpoint, while Connect stores the credentials and logs every execution.

15 days to try it. No credit card.

POST https://connect.reportei.com/api/tools/whatsapp_send_message/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "phone_number_id": "<phone_number_id>",
    "messaging_product": "whatsapp",
    "recipient_type": "individual",
    "to": "<recipient_number_with_country_code>",
    "type": "text",
    "text": {
      "body": "Hello! This is an example message.",
      "preview_url": false
    }
  }
}
Example: the "Send message" tool on an account your customer connected.Illustrative example. Replace the tokens, connection UUID and destination values with your own. This page does not execute the request.

How it works

From a connected customer to the first WhatsApp call.

  1. 1

    Your customer connects the account

    Your system opens a Connect session for the toolkit and your customer connects their WhatsApp account. You get the connection id.

  2. 2

    Your product calls the tool

    A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.

  3. 3

    Connect handles the rest

    It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.

Use cases

What your product does with WhatsApp.

  • Send notifications by template

    A SaaS starts a conversation by sending a message of type template with an approved template, for example to confirm an order.

  • Manage templates from your app

    A product creates a message template, submits it to Meta review, then edits or deletes it as the content changes.

  • Reply to customers with an agent

    An AI agent answers with a free-form text message to someone who wrote to the number in the last 24 hours.

Tools

10 WhatsApp tools

See all 10 tools

Connection

How your customer connects the account

Official WhatsApp documentation

API key

Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.

Questions about the WhatsApp toolkit

Do I need to build against the WhatsApp API?

No. Connect ships 10 WhatsApp tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.

How does my customer connect their WhatsApp account?

With the mode the toolkit accepts: API key. Connect stores the credential encrypted and never returns it to your system.

Does it work with AI agents?

Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.

Does my customer need a Reportei account?

No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.

Toolkits in the same category

See all 100 toolkits

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.