Skip to content

Guides

Integrating Client Systems via whatsappx API: A Developer Guide

Learn how to use the whatsappx.si REST API and webhooks to connect client WhatsApp chats with your existing business tools and CRM.

On this page

TL;DR

  • Use the whatsappx.si REST API to programmatically interact with WhatsApp chats and contacts.
  • Configure outbound webhooks to forward incoming messages to your own servers in real-time.
  • Secure your integrations using Bearer authentication and shared-token headers for verification.

How can developers integrate client systems with whatsappx.si?

Developers can integrate client systems with whatsappx.si by utilizing the platform's REST API and outbound webhooks to sync data between WhatsApp and their own business infrastructure. This approach allows agencies and businesses to build custom workflows, such as pushing incoming customer queries into a proprietary database or triggering external actions based on specific message content.

To begin, you must access your workspace settings to generate an API key. All requests to the REST API require this key to be passed via Bearer authentication. Because whatsappx.si does not provide built-in CRM integrations, these endpoints are designed to give developers full control over how they manage and route data for their specific use cases.

How do I set up webhooks for incoming messages?

Outbound webhooks allow your server to receive real-time notifications whenever a new message arrives in a connected WhatsApp workspace. By setting up an endpoint on your server, you can capture incoming payloads, which include the message content, sender details, and timestamps, allowing for immediate processing or logging in your internal systems.

When configuring these webhooks, whatsappx.si sends a shared-token header to ensure the request is coming from a trusted source. You should configure your server to validate this token before processing the payload. This mechanism is essential for building custom automation, such as routing support tickets to specific team members or updating lead statuses in an external CRM. You can find detailed technical specifications and endpoint documentation by visiting our public API docs.

What are the security best practices for API integrations?

Security is a priority when integrating external systems; therefore, always store your API keys securely and never expose them in client-side code or public repositories. whatsappx.si utilizes HTTPS for all communications, ensuring that data transmitted between your server and our platform remains protected during transit.

Furthermore, session and reset tokens are stored only as hashes, and role-based access control ensures that only authorized users can manage workspace integrations. For agencies managing multiple clients, it is important to remember that data is separated per workspace. Always verify your webhook endpoints and ensure that your server logic handles requests gracefully, especially if you are managing high volumes of incoming messages. For more information on how we maintain a secure environment, review our security policies.

How can I manage data flow for multiple client workspaces?

Managing multiple client workspaces requires a structured approach to API key management and webhook routing. Since each workspace operates independently, you should assign unique API keys to each client environment and map them to corresponding endpoints on your backend. This ensures that incoming messages are correctly attributed to the right client without data crosstalk.

For agencies, the White-label Partner program offers a way to manage these client relationships under your own brand. While the partner program provides the infrastructure for client management, the technical integration via the REST API remains the standard method for connecting those clients to your custom business tools. By keeping your integration logic modular, you can easily scale your services as you onboard more clients.

How does the API differ from the official Meta route?

Currently, whatsappx.si connects to WhatsApp by scanning a QR code to link your workspace as a device, which is the only way to connect today. This method is distinct from the official WhatsApp Business Platform, which is coming soon (waiting for Meta approval). Our REST API is designed to work with this QR-linked infrastructure, providing a flexible way to handle messages. You can explore all our API and webhook features to see how they fit into your current development roadmap.

Frequently asked questions

Does whatsappx.si provide built-in CRM integrations?
No, whatsappx.si does not offer built-in CRM integrations. Instead, we provide a REST API and outbound webhooks that allow developers to build their own custom integrations with any CRM or business tool.
How do I authenticate my API requests?
All requests to the whatsappx.si REST API must be authenticated using Bearer authentication. You will need to generate an API key from your workspace settings to include in the header of your requests.
Can I use webhooks to sync messages to my own database?
Yes, you can configure outbound webhooks to forward incoming WhatsApp messages to your server. Your server can then parse the payload and store the information in your own database or trigger other business processes.
Is the API documentation available publicly?
Yes, our public API documentation is available at /docs. It contains the necessary information for developers to implement the REST API and configure webhooks for their specific integration needs.