WhatsApp API, made simple.
Integrate WhatsApp into your business in minutes. Send messages, manage conversations and embed our chat in your application with the Chat API APIs.
- Send WhatsApp messages and templates via API
- Full conversation management
- Embeddable chat widget via iframe
- Real-time webhooks for every event
Chat API
typing...
Secure and certified infrastructure
Integrate WhatsApp API
and grow your revenue
with AI
Companies that automate WhatsApp communications with AI see an average 40% increase in conversions. Less manual work, more sales.
-
AI automations 24/7
-
Abandoned cart recovery
-
Proactive notifications
-
Integrate CRM & e-commerce
98%
messages read
+40%
avg conversions
3ร
customer retention
Monthly revenue
Before and after WhatsApp API integration
+127%
revenue
Chat API: the notification infrastructure for your business
A single API to send WhatsApp messages, SMS and emails, manage conversations and embed a chat in your application. Built by Roxpay, official WhatsApp partner.
Simple RESTful APIs
JWT authentication, clear endpoints and complete documentation. Integrate in hours, not weeks.
Templates & messages
Send pre-approved templates or freetext messages within active conversation windows.
Chat Widget iframe
Generate a WhatsApp chat iframe and embed it in your web application with a single API call.
Real-time webhooks
Receive instant notifications on incoming messages, delivery status and conversation updates.
Chat Widget iframe
Generate a WhatsApp chat iframe and embed it in your web application with a single API call.
A single API call
POST /api/v4/iframes/whatsapp/chat-box
Embed anywhere
Works in any web page, React, Vue, Angular app or vanilla HTML.
Real-time chat
Messages are synchronized in real time via WhatsApp Business.
Desktop view
Embedded via iframe
Everything you need for WhatsApp Business
Send messages
Send WhatsApp messages to any contact via API. Supports text, media, templates and interactive messages.
Template management
View and use approved WhatsApp templates directly from our APIs. Customize variables on the fly.
Chat management
Retrieve the list of active conversations and the message history for each contact.
Embeddable chat widget
Generate an iframe URL with a single API call and integrate WhatsApp chat into your app or website.
Webhooks & notifications
Configure webhooks to receive real-time events: incoming messages, read receipts and more.
Client management
Create, search and manage your contacts directly via the API. Sync with your CRM.
How it works
Get your API credentials
Sign up on Roxpay and generate your JWT token to access the Chat API APIs.
Integrate in minutes
Use our RESTful APIs to send messages, manage chats or generate the iframe widget.
Go live
Test in the sandbox, then switch to production. Start communicating with your customers on WhatsApp.
Integrate in just a few lines of code
Authenticate, send a message and handle the response. All via REST API.
curl -X POST \
https://app.roxpay.eu/api/v4/auth/token \
-H "Content-Type: application/json" \
-d '{
"email": "you@company.com",
"password": "your-password"
}' curl -X POST \
https://app.roxpay.eu/api/v4/whatsapp/chats/{ClientId}/message \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"message": "Hello from Chat API!"
}' curl -X GET \
https://app.roxpay.eu/api/v4/whatsapp/chats \
-H "Authorization: Bearer YOUR_TOKEN" curl -X POST \
https://app.roxpay.eu/api/v4/iframes/whatsapp/chat-box \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" Frequently asked questions
Do I need to be a WhatsApp partner to use Chat API?
No. Chat API is a service by Roxpay, which is already an official WhatsApp Business Partner. You connect through our APIs without registering directly with Meta.
Can I embed the WhatsApp chat in my app?
Yes. With a single API call you can generate an iframe URL that embeds the WhatsApp chat directly into your web or mobile application.
What types of messages can I send?
You can send WhatsApp-approved templates (for out-of-window messages) and freetext messages within active 24-hour conversation windows.
Is there a test environment?
Yes. Chat API provides a sandbox environment at sandbox.roxpay.eu where you can test all APIs before going to production.
How does authentication work?
The APIs use JWT Bearer tokens. Generate your token via the /api/v4/auth/token endpoint and include it in the Authorization header of every request.
Ready to bring WhatsApp to your business?
Start using the Chat API APIs for free. No credit card required for the sandbox.