For AI agents: the docs index is at https://docs.wati.io/llms.txt. Append .md to any documentation page URL to get its markdown version.
Jump to Content
WATI API ReferenceWATI API Reference
HomeGetting StartedRecipesAPI Reference
Log InWATI API Reference
API Reference
Log In
HomeGetting StartedRecipesAPI Reference

introduction

  • Start here · WATI API and MCP
    • Template Message Payload Guide
  • Authentication
  • Errors & Rate Limits
  • Postman
  • Public Roadmap
  • Video tutorials
  • Policy
  • Endpoint availability by plan
  • BSUID & Target Format

API Documentation V3

  • Channels
    • Get channelsget
  • Conversations
    • Get messagesget
    • Send a text message to an active conversationpost
    • Send a typing indicator to a WhatsApp contactpost
    • Send a file message to an active conversationpost
    • Send a file message to an active conversation via a urlpost
    • Get a media file by message IDget
    • Assign an operator to a conversationput
    • Update conversation statusput
    • Send an interactive message to an active conversationpost
    • Add a tag to a conversationpost
    • Remove a tag from a conversationdel
    • List conversationsget
    • Query conversationspost
    • Get conversation scanget
    • Get conversation scan resultsget
    • Cancel conversation scanpost
  • Instagram
    • List channel postsget
    • Get a channel postget
    • List channel post commentsget
    • Get unread comments for a channel postget
    • Get channel comment permissionsget
    • Reply publicly to a commentpost
    • Send a private reply to a commentpost
  • Contacts
    • Add a new contactpost
    • Get contactsget
    • Update contactsput
    • Get contact detailsget
    • Assigns a contact to teamsput
    • Get contact countget
    • Delete a contactdel
  • Templates
    • Get message template by IDget
    • Get message templatesget
    • Send template messagespost
    • Schedule template messagespost
  • Broadcasts
    • Get campaignsget
    • Get the campaign details by IDget
    • Get the campaign recipients by IDget
    • Get the campaign overviewget
    • Estimate broadcast costpost
  • Calls
    • Get call logsget
    • Get call recordingget
    • Get call transcriptget
    • Get call summaryget
    • Batch get call recordingspost
    • Batch get call transcriptspost
    • Batch get call summariespost
  • Chatbots
    • Get chatbots (Available in Pro plan)get
    • Start chatbot (Available in Pro plan)post
  • Sales Analytics
    • Get sales pipelinepost
    • Get lead stagesget
  • Account
    • Get account creditsget
  • Segments
    • List segmentsget
    • Get a segmentget
    • Evaluate segment filterspost
  • Webhooks
    • List webhook subscriptionsget
    • Get a webhook subscriptionget
    • Update a webhook subscriptionput
    • Delete a webhook subscriptiondel
    • List available webhook event typesget

Legacy exceptions

  • Create Custom Segment
  • Get Messages by whatsapp numberget
  • Send File to opened sessionpost
  • Send File to opened session via urlpost
  • Send Message to opened sessionpost
  • Send Interactive CTA URL Messagepost
  • Create Custom Segment (Available in Pro/Business plan)post
  • /{tenantId}/api/v1/sendDirectSendMessage/{whatsappNumber}post
  • /{tenantId}/api/v1/sendDirectSendMessagespost
  • Delete scheduled campaign (formerly scheduled broadcast) by broadcast ID.del
  • Scheduled Campaign (formerly Scheduled Broadcast)post
  • Send WhatsApp Pay order detail message to customer (Private Beta)post
  • Send WhatsApp Pay order detail message to customer (Private Beta)post
  • Update WhatsApp Pay order status of an order (Private Beta)post
  • Update WhatsApp Pay order status of an order (Private Beta)post
  • Send WhatsApp Pay checkout button Template message to customer (Private Beta)post
  • Get WhatsApp Pay order details of particular order (Private Beta)get
  • Get payment status information of particular order (Private Beta)get
  • GetPhoneNumberListget
  • List multi whatsapp phone numberget
  • Get phone number detailget
  • Create webhookspost
  • BusinessAccountsget
  • Create a templatepost
  • Delete templates by namedel
  • Delete a templatedel
  • Get message by phoneNumber and localMessageIdget
  • Enable auto-retrypost
  • Update saved segmentput
  • Delete saved segmentpost
  • Batch delete saved segmentspost
  • List saved segment contactspost
  • Schedule broadcast from saved segmentpost
  • Request recipient contact informationpost

webhooks

  • Introduction
  • Webhook Events & Payloads
    • Message Received
    • New Contact Message
    • Session Message Sent
    • Template Message Sent
    • Sent Message is DELIVERED
    • Send Message is Read
    • Sent Message is REPLIED
    • Template Message FAILED
    • Template Status Update
    • Template quality update
    • Template category update
    • WhatsApp Account Review Updated
    • Phone Number Quality Update
    • WABA Account Deleted
    • WABA Account Content Updated
    • Phone Number Deleted
    • Session Message Failed
    • Business Capability Updated
    • Contact Request Response
    • WhatsApp Payment Captured
    • Webhook Migration Guide
  • Chatbot Triggered
  • CTA URL Clicked
  • Call Status
  • Message Received (BSUID)
  • New Contact Message (BSUID)
  • Session Message Sent (BSUID)
  • Session Message Sent v2 (BSUID)
  • Template Message Sent (BSUID)
  • Template Message Sent v2 (BSUID)
  • Chatbot Triggered (BSUID)
  • CTA Button Clicked (BSUID)
  • Call Status (BSUID)

MCP Server

  • WATI MCP Server
    • Astra MCP Tool Catalogue
    • MCP Conversation Analysis

WATI API

  • Channels
    • Create an Instagram channel connection linkpost
    • Get an Instagram channel connect attemptget
    • Get Social add-on and account quotasget
    • Preview the Social quota impact of a plan changeget
    • Get Facebook and Messenger channel activityget
  • Conversations
    • Query conversations with optimized exact countingpost
  • Templates (v1)
  • Broadcasts (v1)
  • TikTok
    • Create a public TikTok commentpost
    • List replies to a TikTok commentget
    • Get TikTok post like countget
    • Get TikTok post analyticsget
    • Like a TikTok commentpost
    • Mark TikTok post comments as readpost
  • Campaigns
    • Get campaign performance for a templatepost
  • Instagram Ads
    • List Meta ad accountsget
    • Create a Meta ad account connection linkpost
    • Get a Meta ad account connection attemptget
    • List synced Instagram adsget
    • Get a synced Instagram adget
    • Sync Instagram adspost
    • Get Instagram ad analyticsget
  • WhatsAppAccounts
  • Messaging
  • Legacy exceptions
  • /{tenantId}/api/v1/broadcast/{broadcastId}/retry

Integration Guides

  • Vercel Chat SDK

Astra API

  • Agents
    • List agentsget
    • Create an agentpost
    • Create an agent from a templatepost
    • Get an agentget
    • Update an agentput
    • Delete an agentdel
    • Publish an agentpost
    • Clone an agentput
    • Update agent instructionput
    • Run one Vibe turn for an agentpost
    • Continue a paused Vibe runpost
    • Update agent attributesput
    • Enable or disable an agentput
    • Get agent runtime configurationget
    • Install an agent to a WATI channelpost
    • List Instagram channelsget
    • List WhatsApp channelsget
  • Chat
    • Send a messagepost
    • Chat preview (uses draft config)post
    • Chat for evaluation (uses test config)post
    • Voice agent chat with transcription correctionpost
    • Voice agent chat preview (uses draft config)post
    • Retrieve knowledgepost
  • Conversations
    • List conversationsget
    • Get a conversationget
    • List messages in a conversationget
    • Get the contact associated with a conversationget
    • Get custom parameters for a conversationget
    • Create or update custom parametersput
    • Delete custom parametersdel
  • Contacts
    • List contactsget
    • Create a contactpost
    • Get a contactget
    • Delete a contactdel
    • List conversations for a contactget
    • Export contacts as CSVget
  • Knowledge Bases
    • Create a knowledge basepost
    • List documents in a knowledge baseget
    • Create a text document in the knowledge basepost
    • Delete a documentdel
    • Import from web URLpost
    • Import from file uploadpost
    • Crawl and import an entire websitepost
    • Create a document from plain textpost
    • Get import job statusget
    • Initiate a chunked file uploadpost
    • Upload a file partput
    • Complete chunked upload and importpost
    • Get upload session statusget
    • Cancel an upload sessiondel
  • Annotations
    • List annotationsget
    • Create an annotationpost
    • Get an annotationget
    • Update an annotationput
    • Delete an annotationdel
    • Batch delete annotationspost
  • Actions
    • List actionsget
    • Create an actionpost
    • Get an actionget
    • Update an actionput
    • Delete an actiondel
  • Skills
    • List skill definitionsget
    • Generate a skill definition via AIpost
    • Get a skill definitionget
    • Update a skill definitionput
    • Delete a skill definitiondel
    • Clone a skill template into a tenantpost
    • List version history for a skillget
    • Get a specific historical snapshot of a skillget
    • Restore a skill to a previous versionpost
    • List skills attached to an agentget
    • Attach a skill to an agentpost
    • Detach a skill from an agentdel
  • Voice
    • Update inbound voice agent instructionput
    • Update inbound voice agent greetingput
    • Update inbound voice agent configurationput
    • Update outbound voice agent instructionput
    • Update outbound voice agent greetingput
    • Update outbound voice agent configurationput
    • List voice agentsget
    • Create a voice agentpost
    • List default-tenant voice agentsget
    • Get voice agent by text agent IDget
    • Publish voice agentpost
    • Get voice agent countget
    • Quick create voice agent from templatepost
    • Get voice agent by IDget
    • Update voice agentput
    • Delete voice agentdel
    • Check if voice agent existshead
    • New incoming voice callpost
    • Terminate voice callpost
    • New web voice callpost
    • New voice call (test mode)post
    • Terminate voice call (test mode)post
    • Initiate outbound call (test)post
    • Initiate outbound call (production)post
    • Get WebRTC configurationget
    • Transcribe audio from URLpost
    • Transcribe uploaded audio filepost
    • List Minimax voicesget
    • Submit voice clonepost
    • Upload user voice audiopost
    • Search voice libraryget
    • Search collected voicesget
    • Get Minimax voice by IDget
    • Update Minimax voice (e.g. status)put
  • Analytics
    • Get analytics (V2)get
    • Get lead distribution (V2)get
  • Templates
    • List agent templatesget
    • List template categoriesget
    • Get a templateget
  • Connections
    • List platform connectionsget
    • Create a platform connectionpost
    • Get a connectionget
    • Delete a connectiondel
    • Get WATI credentialsget
  • Brandkit
    • Fetch brand info from a company URLpost
    • Get agent brandkitget
    • Create agent brandkitpost
    • Update agent brandkitput
    • Delete agent brandkitdel
  • Files
    • Upload a filepost
    • Get file download URLget
  • MCP
    • Create a platform connectionpost
    • Get connection statusget
    • Delete a connectiondel
    • Detect actions using this connectionget
    • Refresh a connectionpost
    • Wait for connection to be readypost
    • Get MCP server infoget
    • Get Slack channelsget
    • Get WATI contact attributesget
    • Get WATI channels (phone numbers)get
    • Get WATI message templatesget
    • Get WATI operatorsget
    • Get WATI teamsget
    • Perplexity AI searchpost
    • Get HubSpot contact propertiesget
    • Get Salesforce contact fieldsget
    • Get Google Sheets spreadsheetsget
    • Get spreadsheet info with worksheetsget
    • Get Zoho fieldsget
    • Get action templatesget
    • Get recent action templates for a tenantget
    • Get credentials for a tenant's platformget
    • Upsert credentials for a tenantpost
    • Register agent for MCP configurationpost
    • Deregister all MCP configs for an agentpost
    • Create a new actionpost
    • List actions for a tenantget
    • Get action by IDget
    • Update an actionpatch
    • Delete an action (soft delete)del
    • Report action executionpost
    • Execute a REST API actionpost
    • Sync contact to action's backing storepost
    • Forward MCP requestpost
    • Batch get attribute schemaspost
  • Testing
    • Start full pipelinepost
    • List pipeline jobs for an agentget
    • Get pipeline job status and resultsget
    • Generate test cases (async)post
    • List test suitesget
    • Get test suite with all test casesget
    • Get generation progress (lightweight)get
    • Add a single test casepost
    • Execute and evaluate a test suitepost
    • List runs for a test suiteget
    • Batch delete test casesdel
    • Delete a single test casedel
    • Import test cases from CSV (async)post
    • Get CSV import statusget
    • Create run from explicit test case IDspost
    • List runs by agentget
    • Get run resultsget
    • Delete a run and all its resultsdel
    • Batch delete run resultsdel
    • Analyze a completed runpost
    • Get analysis by run IDget
    • Get analysis by IDget
    • Phase 1: Analyze failures onlypost
    • Phase 2: Generate improved instructionpost
    • Get agent test overviewget
    • Get latest run for an agentget
    • Get latest test suite for an agentget
    • Get all test cases with latest resultsget
  • Testing V2
    • Create a V2 test suitepost
    • List V2 test suitesget
    • Generate a V2 test suitepost
    • Ingest structured V2 test casespost
    • Get V2 test suite with all test casesget
    • Delete a V2 test suite and its casesdel
    • Get V2 suite generation progress (lightweight)get
    • Create a run for a V2 test suitepost
    • Launch an end-to-end run (create + execute + evaluate)post
    • Delete a single V2 test casedel
    • Batch delete V2 test casesdel
    • List V2 test cases for an agentget
    • Get a V2 test case by IDget
    • Update a V2 test casepatch
    • List V2 runsget
    • Get V2 run with full resultsget
    • Delete a V2 run and its resultsdel
    • Get V2 run summary with compact resultsget
    • Get a specific case result within a runget
    • Execute a V2 run (conversation phase)post
    • Evaluate a V2 run (scoring phase)post
    • Re-run a subset of an earlier runpost
    • Compare a run against a baseline or an earlier runget
    • Recompute test-case freshness for an agentpost
    • Delete stale test cases that can no longer passpost
  • Webhooks
    • Register a webhookpost
    • List webhooksget
    • Update a webhookput
    • Delete a webhookdel
  • API Keys
    • Create a new API keypost
    • List API keysget
    • Revoke an API keydel
    • Rotate an API keypost
  • OAuth
    • Register an OAuth applicationpost
    • List OAuth applicationsget
    • Delete an OAuth applicationdel
    • Get public OAuth app informationget
    • Approve an OAuth authorization requestpost
    • Exchange authorization code or refresh tokenpost
Powered by 

Templates (v1)

Send and manage WhatsApp message templates.

Updated 5 months ago


Query conversations with optimized exact counting
Broadcasts (v1)

Updated 5 months ago


Query conversations with optimized exact counting
Broadcasts (v1)