Skip to main content
POST
/
admin
/
beta
/
whitelist
/
{phone_number}
Adicionar telefone à whitelist
curl --request POST \
  --url https://services.pref.rio/rmi/v1/admin/beta/whitelist/{phone_number} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "group_id": "<string>"
}'
{
  "added_at": "<string>",
  "group_id": "<string>",
  "group_name": "<string>",
  "phone_number": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phone_number
string
required

Número de telefone

Body

application/json

Dados da whitelist

group_id
string
required

Response

Telefone adicionado à whitelist com sucesso

added_at
string
group_id
string
group_name
string
phone_number
string