Skip to main content

API Overview

The LivChat.ai API is organized around REST. It uses predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.

Base URL

Authentication

All requests require a Bearer token:

Endpoints Overview

Messages

Send WhatsApp messages in various formats.

Contacts

Manage and verify contacts.

Session

Manage WhatsApp connection.

Groups

Manage WhatsApp groups.

Webhooks

Receive real-time events.

Response Format

Success Response

Error Response

HTTP Status Codes

Phone Number Format

Phone numbers should be in international format without + or spaces:

JID Format

WhatsApp JIDs (Jabber IDs) are used internally: