---
title: "Rota utilizada para buscar um colaborador através de seu ID."
method: GET
path: "/v1/employees/{id}"
tags: ["employees"]
---

# Rota utilizada para buscar um colaborador através de seu ID.

`GET /v1/employees/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `fields` string

## Response `200`

Busca de colaborador da empresa realizada com sucesso.

- GetEmployeeResponse
  - `account` FindCompanyEmployeeResponse, required
    - `id` string, required — The ID of the account
    - `centralCompanyId` string, required — The central company ID of the account
    - `firstName` string, required — The first name of the account
    - `lastName` string, required — The last name of the account
    - `email` string, required — Email of the account
    - `taxpayerRegistry` string, required — taxpayerRegistry of the account
    - `mobileNumber` string, required — Mobile number of the account
    - `internalNumber` string, required — Internal number of the account
    - `createdAt` string, date-time, required — The date of the account creation
    - `attributes` CompanyEmployeeAttribute[], required — The attributes of the account
      - `id` string, required — The ID of the attribute
      - `name` string, required — The name of the attribute
      - `value` string — The value of the attribute
      - `optionId` string — The ID of the attribute option
      - `optionName` string — The name of the attribute option
      - `type` 'text' | 'dropdown' | 'file', required — The type of the attribute
    - `globalPermission` CompanyEmployeePermissionResponse, required
      - `adminEcosystem` boolean, required — User has Ecosystem admin permissions?
      - `recruitmentAndSelection` boolean, required — User has Recruitment and Selection product user permissions?
      - `admission` boolean, required — User has Admission product user permissions?
      - `educorp` boolean, required — User has Educorp product user permissions?
      - `engage` boolean, required — User has Engage product user permissions?
      - `performance` boolean, required — User has Performance product user permissions?

## Other responses

- `401` — Acesso não autorizado
- `403` — Usuário não tem acesso a este recurso
- `404` — Colaborador não encontrado.

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/revisions/3f26defa2a42/schema)
