Per sviluppatori Integra in poche righe di codice
Autenticati, invia un messaggio e gestisci la risposta. Tutto tramite API REST.
1. Autenticazione 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. Invia messaggio 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. Lista conversazioni cURL
curl -X GET \
https://app.roxpay.eu/api/v4/whatsapp/chats \
-H "Authorization: Bearer YOUR_TOKEN"
4. Genera 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"
Gli sviluppatori possono testare Chat API in sandbox, generare token JWT, inviare messaggi WhatsApp, recuperare conversazioni e ricevere webhook in tempo reale usando endpoint REST documentati e compatibili con stack moderni come Node.js, PHP, Python, Laravel, React, Vue e Angular.