StatusCallback URL you configure.
When this webhook fires
mycpaas sends a POST to yourStatusCallback URL on every call status transition. You can optionally limit which statuses trigger a notification using the StatusCallbackEvent parameter.
Payload fields
mycpaas sends the following fields asapplication/x-www-form-urlencoded in the POST body:
A unique identifier for the call (e.g.,
CA1234567890abcdef). Use this to correlate status updates to a specific call.The current status of the call. See the table below for all possible values.
Call status values
Configuring StatusCallback
PassStatusCallback and optionally StatusCallbackEvent when creating a call via the REST API:
StatusCallbackEvent accepts a space-separated list of statuses. Omit it to receive all status transitions.
Raw POST payload example
Handler example
The following Express handler logs each call status update and acknowledges receipt:Status callbacks are fire-and-forget notifications. You do not need to return LaML XML — mycpaas ignores the response body. Return HTTP 200 promptly to prevent retries.

