telephony
End a phone call
Records the end of a phone call event. Used to update call records with duration and status.
post/messenger/v1/telephony/call/end
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"call_type": "incoming",
"from": "1234567890",
"to": "1234567890",
"call_event_id": 1,
"auth_user_id": 1,
"integration_code": "1234567890",
"time": "1234567890",
"status": "1234567890",
"note": "1234567890",
"hangup_button": {
"url": "https://example.com/hangup",
"data": {
"id": 1
}
}
}Response
Call ended successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.