API Reference Overview

Welcome to the Zacx WhatsApp Business API reference documentation. This comprehensive guide will help you integrate WhatsApp messaging capabilities into your applications.


Quick Start with Postman

The fastest way to explore our API is through Postman. Our pre-configured collection includes all endpoints with example requests and responses, making it easy to test and understand the API before implementing it in your application.

Run In Postman

What’s included in the Postman Collection:

  • Pre-configured authentication headers
  • Sample requests for all API endpoints
  • Environment variables for easy testing
  • Example responses and error scenarios

What is Zacx API?

Zacx provides a powerful RESTful API that enables developers to programmatically send and receive WhatsApp messages, manage contacts, create message templates, and handle broadcasts. Our API is built on top of the official WhatsApp Business Platform, ensuring reliability and compliance with WhatsApp’s policies.

Getting Started

To start using the Zacx API, you’ll need:

  1. API Credentials: Obtain your API key from the Zacx dashboard
  2. WhatsApp Business Account: Connect your verified WhatsApp Business number
  3. Webhook Configuration: Set up endpoints to receive message updates
  4. Development Environment: Any platform capable of making HTTP requests

Base URL

All API requests should be made to:

https://api.zacx.io/v1

Authentication

The Zacx API uses API key authentication. Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Response Format

All API responses are returned in JSON format with consistent structure:

{
  "success": true,
  "data": {
    // Response data
  },
  "message": "Operation completed successfully"
}

Error Handling

When errors occur, the API returns appropriate HTTP status codes along with detailed error messages:

{
  "success": false,
  "error": {
    "code": "INVALID_REQUEST",
    "message": "Missing required parameter: phone_number"
  }
}
Menu