> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keebai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /v1/scheduling/professionals/:id

> Fetch the full detail of a professional: assigned branches, allowed services, specialties, and status.

Returns the requested professional as long as they belong to the PAT's tenant.

## Endpoint

```
GET https://api.keebai.com/v1/scheduling/professionals/:id
```

## Required scope

`scheduling:professionals:read`

## Path params

| Param | Type     | Description      |
| ----- | -------- | ---------------- |
| `id`  | `string` | Professional id. |

## Example request

```bash theme={null}
curl https://api.keebai.com/v1/scheduling/professionals/66c1d2e3f4a5b6c7d8e9f0a1 \
  -H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

## Response

### 200 OK

```json theme={null}
{
  "_id": "66c1d2e3f4a5b6c7d8e9f0a1",
  "name": "María",
  "last_name": "Soto",
  "cargo": "Médica general",
  "specialties": ["medicina general", "pediatría"],
  "email": "maria.soto@clinica.cl",
  "phone": "+56999999999",
  "avatar": "https://cdn.keebai.com/avatars/...",
  "branches": ["65a1f2b3c4d5e6f7a8b9c0d1"],
  "services": ["65b1c2d3e4f5a6b7c8d9e0f1"],
  "status": "active"
}
```

### 404 Not Found

The professional doesn't exist or belongs to another company.

### 401 Unauthorized · 403 Forbidden

Same semantics as the rest of the public API.


## OpenAPI

````yaml GET /v1/scheduling/professionals/{id}
openapi: 3.0.0
info:
  title: Keebai Public API
  description: Superficie pública REST autenticada con Personal Access Tokens (PAT).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.keebai.com
    description: Production
security: []
tags: []
paths:
  /v1/scheduling/professionals/{id}:
    get:
      tags:
        - scheduling-professionals
      summary: Obtener detalle de un profesional
      operationId: PublicProfessionalsController_getById
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicProfessionalResponseDto'
      security:
        - PAT: []
components:
  schemas:
    PublicProfessionalResponseDto:
      type: object
      properties:
        id:
          type: string
          description: ObjectId del profesional
        name:
          type: string
        last_name:
          type: string
        specialties:
          type: array
          items:
            type: string
        cargo:
          type: string
        avatar:
          type: string
        branches:
          description: Sucursales donde atiende
          type: array
          items:
            type: string
        status:
          type: string
          description: active | inactive | on_leave
      required:
        - id
        - name
  securitySchemes:
    PAT:
      scheme: bearer
      bearerFormat: kbai_pk_<hex>
      type: http
      description: >-
        Personal Access Token con prefijo `kbai_pk_`. Generar desde el portal
        con permiso `developer.manage_tokens`.

````