Skip to main content
POST
/
phone-numbers
/
register
Registrar Número
curl --request POST \
  --url http://localhost:3000/api/phone-numbers/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messaging_product": "<string>",
  "pin": "<string>"
}
'

Parâmetros

Path

phone-number-id
string
required
ID do número de telefone a ser registrado.

Body

messaging_product
string
required
Deve ser sempre "whatsapp".
pin
string
required
PIN de verificação em dois fatores configurado para o número. Necessário para completar o registro.

Resposta

{
  "success": true
}