Criar número (PILOT_STATUS)
Cria um número WhatsApp não-oficial (PILOT_STATUS) e retorna o QR code + pairing code para parear. Por padrão, vincula o número à API key chamadora (defina linkToApiKey:false para não vincular). Efeito real: provisiona uma instância.
Autorizações
Sua chave de API ps_
Corpo
Nome de exibição do número.
"Suporte"
Número de telefone (mínimo 10 dígitos, opcional +).
"5511999999999"
Vincular o novo número à API key chamadora (padrão true).
"true"
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