Webhooks & REST API
Real-time event delivery via webhooks and a full REST API for custom integrations. Build anything on WaSMS.
Get API AccessAvailable webhook events
message.receivedmessage.sentmessage.deliveredmessage.readcontact.createdcontact.updatedcampaign.sentcampaign.completedSetup steps
1
Create a webhook endpoint
Set up a URL on your server to receive POST requests. Any web server or serverless function works.
2
Register in WaSMS
Add your endpoint URL in Settings > Webhooks. Select which events you want to subscribe to.
3
Handle incoming events
WaSMS sends a JSON payload to your URL for each event. Verify the signature, process the data, return HTTP 200.