POST
/
phone
/
{phone_number}
/
opt-in
Realizar opt-in
curl --request POST \
  --url https://services.staging.app.dados.rio/rmi/v1/phone/{phone_number}/opt-in \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "channel": "<string>",
  "cpf": "<string>",
  "validation_result": {
    "valid": true
  }
}'
{
  "phone_mapping_id": "<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 do opt-in

The body is of type object.

Response

200
application/json

OK

The response is of type object.