Events
Call Ended
The call.ended event is delivered whenever a call is completed between a Surge number you own and another phone number.
WEBHOOK
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The ID of the account in which this event occurred
The data associated with the event
The timestamp when this event occurred, in ISO8601 format
The type of the event. Always call.ended for this event.
Allowed value:
"call.ended"Response
200
Return a 200 status to indicate that the data was received successfully