Skip to main content
POST
Create number (PILOT_STATUS)

Authorizations

x-api-key
string
header
required

Your ps_ API key

Body

application/json
name
string
required

Display name for the number.

Example:

"Suporte"

number
string
required

Phone number (min 10 digits, optional +).

Example:

"5511999999999"

Link the new number to the calling API key (default true).

Example:

"true"

settings
object

Per-number settings the number is BORN with — the same block as PATCH /v1/numbers/{id}. This is the only place historyImportEnabled: true can be asked for: it defaults to false, the provider hands the device history over in a single burst right after the connection, and there is no way to request it afterwards. Every field of the PATCH block is accepted here; the 201 echoes back what the number was created with.

Response

Create number