WhatsApp Chat Widget

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.

1

Call the endpoint POST /api/v4/iframes/whatsapp/chat-box

2

Receive the iframe URL in the response

3

Embed the iframe in your HTML page

1. Generate the iframe

API Call
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

HTML
<iframe
  src="IFRAME_URL"
  width="100%"
  height="600"
  frameborder="0"
></iframe>

Mobile preview

9:41
Chat API

Chat API Support

online

TODAY

๐Ÿ‘‹ Hi! How can I help you today?

9:41

I need help with my order

9:42

Sure! What's the order number?

9:42

#ORD-12345

9:43

Found! ๐Ÿ“ฆ Your order is shipping. Expected arrival: tomorrow.

9:43

Type a message

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.

WhatsApp WhatsApp API

Ready to bring WhatsApp to your business?

Start using the Chat API APIs for free. No credit card required for the sandbox.