Skip to main content
GET
/
profissionais
curl -X GET "https://api.vidaplus.com/profissionais/?offset=0&limit=100" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "profissionais": [
    {
      "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
    },
    {
      "id": 2,
      "nome": "João Silva",
      "email": "[email protected]",
      "telefone": "987654321",
      "crmCoren": "CRM-SP 12345",
      "especialidade": "Pediatria",
      "horario_atendimento": "Manhã (08:00 - 12:00)",
      "biografia": "Pediatra especializado em neonatologia",
      "tipo": "PROFISSIONAL",
      "is_active": true,
      "is_superuser": false
    }
  ]
}
Retrieves a list of all professional users in the system with pagination support.

Authentication

Requires a valid JWT token in the Authorization header.

Permissions

  • Superusers: Can view all professionals in the system
  • Regular users: Can only view their own professional profile

Query Parameters

offset
integer
default:"0"
Number of records to skip for paginationExample: 0
limit
integer
default:"100"
Maximum number of records to returnExample: 100

Response

profissionais
array
Array of professional user objects
curl -X GET "https://api.vidaplus.com/profissionais/?offset=0&limit=100" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "profissionais": [
    {
      "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
    },
    {
      "id": 2,
      "nome": "João Silva",
      "email": "[email protected]",
      "telefone": "987654321",
      "crmCoren": "CRM-SP 12345",
      "especialidade": "Pediatria",
      "horario_atendimento": "Manhã (08:00 - 12:00)",
      "biografia": "Pediatra especializado em neonatologia",
      "tipo": "PROFISSIONAL",
      "is_active": true,
      "is_superuser": false
    }
  ]
}

Error Codes

Status CodeDescription
200Success
401Authentication required

Build docs developers (and LLMs) love