Calling policy & caller ID
When we're allowed to dial, how many times we retry, and which number your callee sees.
Three workspace-wide settings sit behind every outbound call and campaign: when dialing is permitted, how retries behave, and which number shows up on the callee's phone.
Over the API: GET /v1/outbound-policy.
Calling hours and retries
| Setting | What it controls |
|---|---|
| Timezone mode | Whether hours are judged in the contact's timezone or yours |
| Calling windows | The days and local hours dialing is allowed |
| Guardrail windows | The outer bound no individual call may escape |
| Max attempts | 1–10 |
| Backoff delays | How long to wait after a busy, unavailable, or declined result |
| Declined retry | Whether a declined number is retried at all |
| Job TTL | How long a scheduled call stays valid, up to 90 days |
Windows are real local time in real IANA timezones, daylight saving included — so "9am to 6pm, Monday to Friday" means that for each contact, wherever they are.
Guardrail windows are the important one. Individual calls and campaigns can request overrides, but never outside the guardrail windows. That's what stops a campaign configuration mistake from dialing people at 3am.
Editing the policy applies to calls scheduled afterwards. Calls already scheduled keep the rules they were created with.
Per-call overrides
A call or campaign can adjust the timezone mode, windows, attempts, and backoffs — if your policy allows overrides, and only within the guardrail windows. Nothing is silently dropped: an override you're not allowed to make is rejected, not ignored.
Caller-ID pools
A pool rotates your outbound caller ID across up to 500 numbers, so you're not hammering one number for a whole campaign.
curl https://api.kejue.co/v1/outbound-policy \
-H "Authorization: Bearer kejue_<prefix>_<secret>"Over the API: POST /v1/outbound-number-pools.
Three selection policies:
sticky_least_loaded(default) — spreads load, but keeps calling the same person from the same number, so a callback reaches somewhere familiar.least_loaded— purely spreads load.weighted_round_robin— uses each member's weight.
Per member, priority picks lower numbers first and weight sets its share.
A member is only used while its number is active, outbound-capable, not draining, and on an active trunk. The same check applies to a call that pins one number — an unusable route fails before dialing rather than quietly using something else.
Archiving a pool stops new selection; it's refused while calls still reference it.
Capacity
Most workspaces set their limits on the trunk or the number. Two more tools cover the rest.
Capacity profiles express a limit that's shared beyond one trunk —
usually a provider account ceiling that several trunks draw on. Create one,
then point each trunk's outbound_capacity_profile_id at it.
The capacity snapshot (GET /v1/outbound-capacity) shows what's in use
right now across your organization, trunks, numbers, and profiles. It's for
looking, not configuring. Note that available counts concurrent calls only
— calls per second is limited separately, so a dial can be held back even
when concurrency looks free.