action hook for sending sms when an appointment canceled

I was recommended to use the below hook for sending sms after canceling appointments but what is the variables that your_callback and where this function was decleared in plugin.

-- my sms function is ready i just need action hook---
add_action('wp_ajax_cancel_app','your_callback');