API

WhatsApp messaging API for your business systems

Use Paygham API keys to send WhatsApp text and media from your own code, CRM, or POS—then subscribe to signed webhooks for status events.

What an API integration needs

Generate an API key, select a connected WhatsApp account, and send requests from your backend. The messaging API uses the X-API-Key header and an Idempotency-Key for each unique send or bulk request. Keep credentials out of browser code. Paygham connects through its browser or server engines and is independent of Meta.

Queued does not mean delivered

A successful send request returns HTTP 202 Accepted while the message is queued. Track message.sent or message.failed, or check the delivery-status API, before updating your CRM. A sent event is not proof that the recipient has read the message. Use the developer guide for a complete text-send request and the documentation for media schemas.

API-first messaging

Create and revoke API keys in the Paygham admin. Call messaging endpoints to send to contacts, including media payloads, with idempotency support for safer retries.

What you can send

Text messages plus common business media such as JPEG, PNG, and PDF—via URL or Base64 depending on your integration needs.

Webhooks for delivery status

Configure webhooks to receive signed events such as message.sent, message.failed, and WhatsApp connection changes so your systems stay synchronized.

Built for integrators

Designed for CRM/POS developers who already own the business logic and need a reliable WhatsApp send path on the customer’s number.

Frequently asked questions

Does Paygham provide a WhatsApp API?

Yes. Authenticated messaging endpoints are available with API keys created in the Paygham admin.

Can I send media through the API?

Yes. Text, images (JPEG/PNG), and PDFs are supported through the messaging API.

How do webhooks work?

You register a webhook URL and receive signed event payloads for delivery and connection status so your app can react safely.

Start automating WhatsApp with Paygham

Connect your number, send from dashboard or API, and keep consent honest.