API Features
RESTful API
Standard REST endpoints for sending messages, managing contacts, and more.
Webhooks
Receive real-time events for messages, status updates, and conversation events.
Secure Authentication
API keys and OAuth 2.0 for secure access to your Waperto account.
Rate Limits
Generous rate limits to support high-volume messaging applications.
API Endpoints
GET
/v1/templatesGET
/v1/templates/:namePOST
/v1/templates/sendPOST
/v1/messages/sendGET
/v1/contactsPOST
/v1/contactsPOST
/v1/ordersQuick Start
Send your first message with an approved template
curl -X POST https://ztlgdpyzixocvdqgdxby.supabase.co/functions/v1/api/v1/templates/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+1234567890",
"template": "hello_world",
"language": "en_US",
"variables": ["Ravi"]
}'
# Free-form text works only within 24h of the customer's last message:
# POST https://ztlgdpyzixocvdqgdxby.supabase.co/functions/v1/api/v1/messages/send