Skip to main content
GET
/
citizen
/
{cpf}
/
avatar
Obter avatar atual do usuário
curl --request GET \
  --url https://services.pref.rio/rmi/v1/citizen/{cpf}/avatar \
  --header 'Authorization: Bearer <token>'
{
  "avatar": {
    "created_at": "<string>",
    "id": "<string>",
    "is_active": true,
    "name": "<string>",
    "url": "<string>"
  },
  "avatar_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cpf
string
required

CPF do usuário

Response

Avatar do usuário obtido com sucesso

avatar
object
avatar_id
string