Use this receiver to collect real webhook payloads, inspect headers safely, and map the fields we need for call intake automation.
Point test providers here. Add ?provider=ytel when you start sending Ytel samples.
{{ endpoint_url }}
curl -X POST "{{ endpoint_url }}?provider=test" \
-H "Content-Type: application/json" \
-d '{"event_type":"call.ended","external_id":"demo-call-001","status":"completed"}'
| Received | Provider | Event | External ID | Preview |
|---|---|---|---|---|
| #{{ event.pk }} {{ event.received_at|date:"M j, Y g:i A" }} |
{{ event.provider }} | {{ event.display_event_type }} | {% if event.external_id %}{{ event.external_id }}{% else %}Not supplied{% endif %} |
{{ event.raw_body|default:"No body"|truncatechars:110 }} |
Send a test POST to the endpoint to verify connectivity, then we can map the real Ytel fields into pilot call records.