Skip to main content
POST
/
phone
/
{phone_number}
/
bind
Vincular telefone a CPF
curl --request POST \
  --url https://services.pref.rio/rmi/v1/phone/{phone_number}/bind \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "<string>",
  "cpf": "<string>"
}'
{
  "cpf": "<string>",
  "message": "<string>",
  "opt_in": true,
  "phone_number": "<string>",
  "status": "<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 do telefone

Body

application/json

Dados da vinculação

channel
string
required
cpf
string
required

Response

Telefone vinculado ao CPF com sucesso

cpf
string
message
string
opt_in
boolean
phone_number
string
status
string