In webhooks of type “event”: “phone.recording_completed” it has two ids that are the same. The call_element_id is correct. The call_history_id is not. We can work around this by fetching the call_element with the API and getting the real history id that way but I think this is a bug. Here are some examples from payloads we stored.
"call_element_id": "20260521-3635bc10-c039-47bd-a226-65db80313d40",
"call_history_id": "20260521-3635bc10-c039-47bd-a226-65db80313d40",
"call_element_id": "20260520-4d1b46a4-c749-46c3-900f-8fa383b30053",
"call_history_id": "20260520-4d1b46a4-c749-46c3-900f-8fa383b30053",