For developers Integrate in just a few lines of code
Authenticate, send a message and handle the response. All via REST API.
1. Authentication cURL
curl -X POST \
https://app.roxpay.eu/api/v4/auth/token \
-H "Content-Type: application/json" \
-d '{
"email": "you@company.com",
"password": "your-password"
}'
2. Send message cURL
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!"
}'
3. List conversations cURL
curl -X GET \
https://app.roxpay.eu/api/v4/whatsapp/chats \
-H "Authorization: Bearer YOUR_TOKEN"
4. Generate chat iframe cURL
curl -X POST \
https://app.roxpay.eu/api/v4/iframes/whatsapp/chat-box \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"
Developers can test Chat API in the sandbox, generate JWT tokens, send WhatsApp messages, retrieve conversations and receive real-time webhooks using documented REST endpoints compatible with modern stacks like Node.js, PHP, Python, Laravel, React, Vue and Angular.