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 status is set to
rescheduledand automatically rescheduled to nextcall_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: For single calls (
POST /call) use flag bypass_call_guardrails. Default isfalse. - status: The status is updated to
rescheduledwhen the call is triggered outside allowed hours
In-Call Reschedule Validation
When a user asks to reschedule a call to a specific time during a conversation (e.g., “reschedule for 9 PM today”), the system validates the requested time against the agent’s allowed calling window before scheduling it. Priority order for validation:calling_guardrails— explicitcall_start_hour/call_end_hourconfig always takes precedence- Agent prompt — if no explicit guardrails are set, the LLM reads the agent’s system prompt for any mentioned time restrictions
- Default window (9 AM – 9 PM) — fallback if neither of the above is configured
Ensure your agent’s system prompt and
calling_guardrails config mention the same calling hours to avoid inconsistent behavior during conversations.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

