Skip to content
Maua.Culturewire

Wati

WhatsApp Business: contacts, templates, conversations and campaigns

CommunicationCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API tokenSecretRequired
    • API serverOptionalDomain

    Where to find them

    1. In Wati open “API” in the menu (or “Connector” → “API”) and click “Generate new token”.
    2. Give it a name and select the permissions (scopes) you need, e.g. contacts:read, contacts:write and messagetemplate:read; optionally, an expiry date.
    3. Copy the token: it is shown only once. The connection test needs the “api” or “wati_integration:read” permission.

Tools (1)

  • Wati API requestWATI_SEND_REQUEST

    Authenticated call to the Wati API (https://{server}). Any endpoint of the API is allowed. API v3 (recommended) lives under /api/ext/v3 and does not include the workspace ID. Examples: GET /api/ext/v3/contacts?page_number=1&page_size=50, GET /api/ext/v3/messageTemplates?page_number=1&page_size=50, GET /api/ext/v3/channels?page_number=1&page_size=10, GET /api/ext/v3/broadcasts?page_number=1&page_size=20. API v1 (legacy) uses the full URL https://live-mt-server.wati.io/{tenantId}/api/v1/getContacts.

    Required scopes

    No scopes required

    Input

    Wati API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.