WhatsApp in your app, with a single line of code
Generate a WhatsApp chat iframe and embed it in your web application. Your customers can message you directly without leaving your site.
How it works
With a single API call to our endpoint, you receive an iframe URL ready to embed. The chat shows WhatsApp conversations in real time.
Call the endpoint POST /api/v4/iframes/whatsapp/chat-box
Receive the iframe URL in the response
Embed the iframe in your HTML page
1. Generate the iframe
curl -X POST \
https://app.roxpay.eu/api/v4/iframes/whatsapp/chat-box \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" 2. Embed in your HTML
<iframe
src="IFRAME_URL"
width="100%"
height="600"
frameborder="0"
></iframe> Mobile preview
Embedded widget
iframe ยท 1 linea
Instant reply
< 1s
Use cases
Customer support
Offer real-time support to your customers directly from your application, without forcing them to open WhatsApp separately.
E-commerce
Allow customers to ask about products, track orders and receive updates directly via chat in your online shop.
Internal dashboards
Integrate the chat into your CRM or team dashboard to manage WhatsApp conversations without switching tools.
Ready to bring WhatsApp to your business?
Start using the Chat API APIs for free. No credit card required for the sandbox.