Search available numbers
Searches the telephony carrier’s voice-capable inventory for a country, so you can pick an exact number before POST /api/phone-numbers/provision. Nothing is bought and nothing is reserved: a number listed here can be sold to someone else before you provision it.
Without type, local, mobile and toll-free inventory are all searched and concatenated in that order, so up to 3 × limit numbers can come back. A country with no inventory of the requested types returns an empty array. Note that provision only buys US/CA numbers directly; other countries are sold as add-ons under Settings → Plan.
Idempotency. Read-only; safe to retry (inventory changes between calls).
Access
- Required scope:
read(orwrite). Any role, including viewer. - Rate limit: General API — per plan: 120 to 600 requests/min per workspace. See Rate limits.
- Plan: Available on every plan.
Authentication
Workspace API key: jl_ followed by 64 lowercase hex characters, created by the workspace owner in the
dashboard (Settings → API Keys) and sent as Authorization: Bearer jl_.... The plaintext is shown once,
at creation; Jelliu stores only a SHA-256 hash. A workspace can hold up to 25 active keys.
Operations restricted to admins or owners reject keys without the full scope with 403, and say so in
their description. No key, whatever its scope, can mint or revoke API keys or rotate a webhook secret —
that requires a signed-in owner session. A revoked key stops authenticating within about 10 seconds.
See Authentication.
Query parameters
ISO-3166 alpha-2 code (case-insensitive, trimmed). Only serviceable markets are accepted; any other code is a 400 naming the available ones.
Inventory type to search. Omit to search local, mobile and toll-free.
3-digit area code (NPA). Only applied for US and CA; ignored elsewhere. A value that is not exactly 3 digits is a 400.
1 to 15 digits or letters the number must contain (carrier search pattern; * is a single-character wildcard). Anything else is a 400.
Maximum results per inventory type, 1 to 30 (400 outside the range).

