Skip to main content
The Clapvo API lets you send WhatsApp messages from your connected numbers directly from your own systems — no agent or dashboard needed. This reference covers everything you need to make your first request.

Base URL

All API requests are made to:

Authentication

Every request must include your API token in the x-api-key header. Requests without a valid token are rejected.
You generate tokens from the Developer section in Clapvo. See Authentication for step-by-step instructions on creating and managing your API token.
Keep your API token secret. Treat it like a password — never expose it in client-side code or public repositories.

Phone number format

Both from and to use international format with the country code and no leading +, spaces, or dashes.
NumberFormat
+91 84956 32548918495632548
The from number must be a WhatsApp number connected to your Clapvo account. See Add a connection to connect a number.

Message types

A single endpoint, Send a message, handles every message type. Set message.type to choose what you send:
Typetype valueNotes
TextmessagePut your text in message.message
ImageimageInclude a media object
DocumentdocumentInclude a media object
VideovideoInclude a media object
AudioaudioInclude a media object
For media messages, caption is optional; all other fields are required. Ready to dive in? Head to the Send a message endpoint to try it live.

Status codes

Each response returns a standard HTTP status code so you can tell what happened at a glance.
CodeStatusDescription
200SuccessMessage queued for delivery
400Bad RequestInvalid or missing required parameters
401UnauthorizedInvalid or expired API token
403Access deniedThe token lacks permission for this action
404Connection not foundThe from number is not a connection on your account