Webhook

Call Incoming Event

​

Resia sends this to a Call Agent's inbound_input_webhook_url when an inbound call arrives. type is call.incoming and call carries the caller (from_phone_number) and dialed (to_phone_number) numbers. Reply within 30 seconds with the InboundCallInputWebhookResponse body (the call's inputs); the response shape is unchanged. Each delivery is one row in GET /v1/request-logs.

Body·

required
application/json

The body Resia POSTs to a Call Agent's inbound_input_webhook_url when an inbound call arrives (ENG-3513). The thin WebhookEvent base carries the shared type discriminator; this event nests the same InboundCallInputWebhookRequest — the caller and dialed numbers — that the former bare body sent, so every outbound webhook is one shape a customer routes on type and reads under call.

  • The call payload of the call.incoming event Resia sends to a Call Agent's inbound_input_webhook_url when an inbound call arrives: the caller and dialed numbers.

    Deliberately minimal: the customer knows their own number-to-agent mapping, so the two phone numbers are all the endpoint needs to look up the caller and return the call's inputs.

    Properties: 2

Responses

  • application/json
  • application/json
Request Example for postcall.incoming
{
  "type": "call.incoming",
  "call": {
    "from_phone_number": "",
    "to_phone_number": ""
  }
}
null