Skip to main content
POST
Criar número (PILOT_STATUS)

Autorizações

x-api-key
string
header
obrigatório

Sua chave de API ps_

Corpo

application/json
name
string
obrigatório

Nome de exibição do número.

Exemplo:

"Suporte"

number
string
obrigatório

Número de telefone (mínimo 10 dígitos, opcional +).

Exemplo:

"5511999999999"

Vincular o novo número à API key chamadora (padrão true).

Exemplo:

"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.

Resposta

Criar número