anthonylovatt_26757
08/28/2025, 7:22 AMAI Evy
08/28/2025, 7:23 AMAI Evy
08/28/2025, 7:23 AMinbound_webhook_url on your phone number configuration [(2) ]() [(3) ]()
2. **Implement time-based logic**: In your webhook endpoint, check the current time/day and decide whether to accept the call
3. **Control call acceptance**:
- To accept the call: respond with a 200 status code containing "call_inbound.override_agent_id" as a JSON object [(1) ]()
- To reject the call: respond with a 200 status code without containing the "call_inbound.override_agent_id" as a JSON object
For your weekend example, your webhook would check if the current day is Saturday or Sunday, and if so, return a 200 response without the override_agent_id field to reject the call .
The webhook receives payload information including from_number and to_number which can help you identify the caller and apply different rules as needed .AI Evy
08/28/2025, 7:23 AMAI Evy
08/28/2025, 7:23 AM