added docblocs for webhook api functions