Skip to main content
POST
/
admin
/
beta
/
whitelist
/
bulk-add
Adicionar múltiplos telefones à whitelist
curl --request POST \
  --url https://services.pref.rio/rmi/v1/admin/beta/whitelist/bulk-add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "group_id": "<string>",
  "phone_numbers": [
    "<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.

Body

application/json

Dados da operação em lote

group_id
string
required
phone_numbers
string[]
required

Response

Telefones adicionados à whitelist em lote com sucesso

added_at
string
group_id
string
group_name
string
phone_number
string