Webhook types
mycpaas sends two categories of webhook events:| Type | When it fires |
|---|---|
| SMS webhook | An inbound SMS or MMS arrives on your mycpaas number |
| Voice webhook | A call status changes (initiated, ringing, answered, completed, failed, etc.) |
How to configure a webhook URL
You can set a webhook URL in two ways: Per-request viaStatusCallback — pass the StatusCallback parameter when you create a call or send a message through the API. This overrides the default for that specific request.
Account default in the Dashboard — log in to the myCPaaS App, navigate to your number settings, and set a default webhook URL. mycpaas uses this URL for any request that does not include a StatusCallback parameter.
Your webhook endpoint must be publicly reachable over the internet and must respond with HTTP 200. mycpaas treats any other status code as a delivery failure and may retry the request.
Next steps
SMS webhooks
Handle inbound SMS and MMS messages and reply with LaML XML.
Voice webhooks
Track call status changes and respond to call events in real time.

