What are Call Guardrails?
Call guardrails help you control when your agent makes outbound calls by enforcing time-based restrictions. This ensures compliance with calling regulations and respects recipient time zones. With call guardrails, you can define allowed calling hours (e.g., 9 AM - 5 PM) for your agents. Calls outside these hours are automatically rescheduled to the next available time window. For emergency or priority calls, you can use the bypass flag to override these restrictions.How It Works
- Configure guardrails on your agent with allowed calling hours (
call_start_hourandcall_end_hour) - Initiate a call via API (optionally with
bypass_call_guardrailsflag) - Timezone detection - System automatically detects recipient’s timezone from phone number
- Time validation - If bypass is false, checks if current time in recipient’s timezone is within allowed window
- Execute or reschedule - Call is made immediately if within hours, or automatically rescheduled if outside
call_start_hour=9, the call can be made at 9 AM Indian time for an Indian number.
Configuration
Configure guardrails when creating or updating an agent via the/v2/agent API:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
call_start_hour | integer | No | - | Start of allowed calling window (0-23, 24-hour format) |
call_end_hour | integer | No | - | End of allowed calling window (0-23, 24-hour format) |
Hours use 24-hour format where 0 = midnight, 9 = 9 AM, 17 = 5 PM, 23 = 11 PM.
call_end_hour must be greater than or equal to call_start_hour.Making Calls
Standard Call (With Guardrails)
When you initiate a call, the agent’s guardrails are automatically applied:- If within allowed hours → Call is made immediately
- If outside allowed hours → Call is automatically rescheduled to next
call_start_hour
Bypass Call Guardrails
Thebypass_call_guardrails parameter allows you to skip all time validation checks for specific calls. When set to true, calls are made immediately regardless of configured time windows.
When to use bypass:
- Emergency calls or critical notifications
- VIP/priority calls that can’t wait
- Testing call flows in development
- Time-sensitive notifications or alerts
Use the bypass flag responsibly. Bypassing guardrails may violate calling regulations or disturb recipients.
Common Use Cases
Business Hours Only
Configure standard 9-5 business hours:Important Notes
- Time format: Use 24-hour format (0-23).
- Timezone behavior: Time validation uses the recipient’s timezone, automatically detected from phone number.
- Automatic rescheduling: Calls outside allowed hours are automatically rescheduled to the next
call_start_hour. No manual intervention required. - Bypass flag: Works for both single calls (
POST /call) and batch calls (POST /batches/{batch_id}/schedule). Default isfalse.
Next Steps
- Make outbound calls - Learn the basics of making calls
- Batch calling - Schedule calls in bulk
- Auto-retry - Automatically retry failed calls
- API reference for making calls - Full API documentation

