Summary
The WATI CRM Plan provides a set of APIs that allow you to interact with WhatsApp efficiently. These APIs enable you to retrieve messages, manage contacts, send messages, and integrate with other systems. This guide lists the available APIs, provides links to relevant documentation, and includes resources like the Postman collection for testing.
Instructions
Available APIs
With the WATI CRM Plan, you can access the following APIs:
Messaging APIs
Get Messages from WhatsApp Number – Retrieve messages received on your WhatsApp number.
Send Session Message – Send a message within an active WhatsApp session.
Send Session File – Send a file attachment within an active WhatsApp session.
Send Template Message – Send a pre-approved WhatsApp template message.
Send Template Messages – Bulk send multiple template messages.
Send Template Message CSV – Send template messages using a CSV file.
Send Interactive Button Message – Send a message with interactive buttons.
Send Interactive List Message – Send a message with a selectable list.
Contact Management APIs
Get Contact List – Retrieve a list of contacts stored in WATI.
Add Contact – Add a new contact to WATI.
Update Contact Attributes – Modify details for an existing contact.
Media & Authentication APIs
Get Media by File Name – Retrieve media files using their filenames.
Rotate Token – Refresh authentication tokens for secure API access.
Operator & Assignment APIs
Assign Operator – Assign a WhatsApp chat to a specific operator.
Where can I find the API Endpoint and Access Token details?
To find your Wati API Token and Endpoint:
Log in to your Wati account.
Click More and select API Docs.
Your API Token and Endpoint details will be displayed on that page.
Additional Resources
WATI API Documentation – Detailed documentation for each API.
Webhook Documentation – Guide on setting up and handling webhooks.
Postman Collection – A ready-to-use Postman collection for testing WATI APIs.
These APIs help streamline WhatsApp communication, automate messaging, and manage customer interactions effectively. Refer to the documentation for implementation details and best practices.
Frequently Asked Questions (FAQs)
General API Questions
1. What is the WATI CRM API?
→ The WATI CRM API allows businesses to interact with WhatsApp by sending messages, managing contacts, retrieving messages, and integrating with external systems.
2. Who can use the WATI CRM API?
→ The API is available for businesses subscribed to the WATI CRM Plan.
3. Where can I find the official API documentation?
→ You can access the WATI API documentation here.
Messaging APIs
4. What is a session message, and how does it work?
→ A session message is a message sent within a 24-hour window after a user’s last interaction. You can use the Send Session Message and Send Session File APIs for this.
5. Can I send template messages using the API?
→ Yes, you can send pre-approved WhatsApp template messages using the Send Template Message, Send Template Messages, and Send Template Message CSV APIs.
6. What is the difference between an interactive button message and an interactive list message?
Interactive Button Message: Sends a message with quick-reply buttons.
Interactive List Message: Sends a list of selectable options for the user to choose from.
Contact Management APIs
7. How can I retrieve my contact list?
→ Use the Get Contact List API to fetch all stored contacts in WATI.
8. How do I add a new contact using the API?
→ You can add a new contact by using the Add Contact API with the required details.
9. Can I update existing contact details?
→ Yes, the Update Contact Attributes API allows you to modify contact information.
Media & Authentication APIs
10. How do I retrieve media files using the API?
→ Use the Get Media by File Name API to fetch media files based on their filenames.
11. What is the Rotate Token API used for?
→ The Rotate Token API is used to refresh authentication tokens to maintain secure API access.
Operator & Assignment APIs
12. Can I assign chats to specific operators?
→ Yes, the Assign Operator API allows you to assign WhatsApp chats to a particular operator for better management.
Additional Resources
13. Where can I find information about webhooks?
→ You can find detailed webhook documentation here.
14. Is there a Postman collection available for testing the APIs?
→ Yes, you can access the Postman collection for WATI APIs here.