Discussions
Webhook call event details - Operator ID & 'postcall' state
Hope you're having a good week! I'm setting up call event webhooks and could use some advice on a couple of things:
Finding the Operator ID: I've noticed that for inbound calls going to a department and then answered by an operator, the webhook payload includes entry_point_target_id and operator_call_id, which is great for identifying the agent. However, I'm having trouble consistently finding similar operator-specific IDs for all types of inbound calls where an operator is involved (e.g., if the call initially hits an office main line). Any tips on the best fields to look for to reliably get the handling operator's ID in different inbound call scenarios?
'postcall' Call State: In the Dialpad developer platform (when creating subscriptions via API), "postcall" is an option for call_state. I couldn't find it in the general call states documentation. Is this state still active and supported, or perhaps deprecated?
Thanks so much for any help or pointers you can offer!