Skip to main content
POST
Create an owned number pool

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Headers

Idempotency-Key
string

Replays the stored answer for a retry of the same request; 409 for a different request under the same key.

Maximum string length: 255

Path Parameters

agent_id
string
required

Body

application/json
name
string
required
Maximum string length: 80
phone_numbers
string[]
required
Required array length: 1 - 100 elements
Pattern: ^\+1[2-9]\d{2}[2-9]\d{6}$
daily_cap
integer
required
Required range: 1 <= x <= 100
local_only
boolean
required

Response

Created

name
string
required
Maximum string length: 80
phone_numbers
string[]
required
Required array length: 1 - 100 elements
Pattern: ^\+1[2-9]\d{2}[2-9]\d{6}$
daily_cap
integer
required
Required range: 1 <= x <= 100
local_only
boolean
required
id
string
required
updated_at
string
required