> ## 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/crm/notes/:id

> Fetch a single note by id.

Returns one note.

## Endpoint

```
GET https://api.keebai.com/v1/crm/notes/{id}
```

## Required scope

`crm:notes:read`

## Headers

| Header          | Required | Value                    |
| --------------- | -------- | ------------------------ |
| `Authorization` | Yes      | `Bearer kbai_pk_<token>` |

## Path parameters

| Field | Type     | Required | Description             |
| ----- | -------- | -------- | ----------------------- |
| `id`  | `string` | Yes      | `ObjectId` of the note. |

## Example request

<CodeGroup>
  ```bash curl theme={null}
  curl https://api.keebai.com/v1/crm/notes/65a1f2b3c4d5e6f7a8b9c0d1 \
    -H "Authorization: Bearer kbai_pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
  ```

  ```js JavaScript theme={null}
  const response = await fetch(`https://api.keebai.com/v1/crm/notes/${noteId}`, {
    headers: { Authorization: `Bearer ${process.env.KEEBAI_API_TOKEN}` },
  });
  const { note } = await response.json();
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.get(
      f"https://api.keebai.com/v1/crm/notes/{note_id}",
      headers={"Authorization": f"Bearer {os.environ['KEEBAI_API_TOKEN']}"},
      timeout=10,
  )
  resp.raise_for_status()
  note = resp.json()["note"]
  ```
</CodeGroup>

## Response

### 200 OK

```json theme={null}
{
  "note": {
    "_id": "65a1f2b3c4d5e6f7a8b9c0d1",
    "chat_user": "66c1d2e3f4a5b6c7d8e9f0a1",
    "ticket_id": "65f4b5c6d7e8f9a0b1c2d3e4",
    "content": "Llamé al cliente, quedó de confirmar el lunes.",
    "type": "call",
    "created_by": "68e1f2a3b4c5d6e7f8a9b0c1",
    "created_at": "2026-05-02T14:31:07.221Z",
    "updated_at": "2026-05-02T14:31:07.221Z"
  }
}
```

### 401 Unauthorized

Missing, invalid, revoked, or expired token.

### 403 Forbidden

The token does not have the `crm:notes:read` scope.

### 404 Not Found

No note with that id, or the note belongs to a different company.


## OpenAPI

````yaml GET /v1/crm/notes/{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/crm/notes/{id}:
    get:
      tags:
        - crm-notes
      summary: Obtener detalle de una nota
      operationId: PublicNotesController_get
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicNoteEnvelopeDto'
      security:
        - PAT: []
components:
  schemas:
    PublicNoteEnvelopeDto:
      type: object
      properties:
        note:
          $ref: '#/components/schemas/PublicNoteResponseDto'
      required:
        - note
    PublicNoteResponseDto:
      type: object
      properties:
        _id:
          type: string
          description: ObjectId de la nota
        content:
          type: string
        type:
          type: string
          enum:
            - note
            - call
            - email
            - meeting
        chat_user:
          type: string
          description: ObjectId del chat user (contacto)
        ticket_id:
          type: string
          description: ObjectId del ticket asociado
        created_by:
          type: string
          description: ObjectId del usuario que creó la nota
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - _id
        - content
        - type
        - created_by
        - created_at
        - updated_at
  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`.

````