Skip to main content
GET
/
profissionais
/
{user_id}
curl -X GET https://api.vidaplus.com/profissionais/1 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": 1,
  "nome": "Maria Oliveira",
  "email": "[email protected]",
  "telefone": "456789123",
  "crmCoren": "CRM-PR 67890",
  "especialidade": "Clinica Geral",
  "horario_atendimento": "Plantão (12h)",
  "biografia": "Médica com 10 anos de experiência",
  "tipo": "PROFISSIONAL",
  "is_active": true,
  "is_superuser": false
}
Retrieves detailed information about a specific professional user.

Authentication

Requires a valid JWT token in the Authorization header.

Permissions

  • Superusers: Can view any professional profile
  • Regular users: Can only view their own profile
  • Returns 403 Forbidden if a non-superuser tries to access another user’s profile

Path Parameters

user_id
integer
required
The unique identifier of the professional userExample: 1

Response

id
integer
Unique identifier for the professional
nome
string
Full name of the professional
email
string
Email address
telefone
string
Contact phone number
crmCoren
string
CRM/COREN registration number
especialidade
string
Medical specialty
horario_atendimento
string
Working hours schedule
biografia
string
Professional biography
tipo
string
User type ("PROFISSIONAL")
is_active
boolean
Account active status
is_superuser
boolean
Superuser status
curl -X GET https://api.vidaplus.com/profissionais/1 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": 1,
  "nome": "Maria Oliveira",
  "email": "[email protected]",
  "telefone": "456789123",
  "crmCoren": "CRM-PR 67890",
  "especialidade": "Clinica Geral",
  "horario_atendimento": "Plantão (12h)",
  "biografia": "Médica com 10 anos de experiência",
  "tipo": "PROFISSIONAL",
  "is_active": true,
  "is_superuser": false
}

Error Codes

Status CodeDescription
200Success
401Authentication required
403User does not have permission to access this profile
404Professional user not found

Build docs developers (and LLMs) love