Create number (PILOT_STATUS)
Creates an unofficial WhatsApp number (PILOT_STATUS) and returns the QR code + pairing code to pair it. By default links the number to the calling API key (set linkToApiKey:false to skip). Real side effect: provisions an instance.
Authorizations
Your ps_ API key
Body
Display name for the number.
"Suporte"
Phone number (min 10 digits, optional +).
"5511999999999"
Link the new number to the calling API key (default 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.
Response
Create number