<!-- Generated from the canonical 99 Digital API documentation. Do not edit this file. -->

Canonical page: https://docs.99digital.co.il/online-api/contacts/notes/list-contact-notes

# List Contact Notes

`GET https://online.99digital.co.il/api/v1/accounts/{account_id}/contacts/{contact_id}/notes`

List the internal notes that agents wrote about a contact, newest first.

Internal notes that agents write about a contact. They are not visible to the contact. To add one, use [Create Contact Note](https://docs.99digital.co.il/online-api/contacts/notes/create-contact-note).

| Action | Method | Path |
| --- | --- | --- |
| List notes (newest first) | `GET` | `/api/v1/accounts/{account_id}/contacts/{contact_id}/notes` |

**Authorization**: user token. Listing requires the [Retrieve Contact](https://docs.99digital.co.il/online-api/contacts/retrieve-contact) permission (new rules: **Contacts → read**). Creating, updating and deleting require the [Update Contact](https://docs.99digital.co.il/online-api/contacts/update-contact) permission (new rules: **Contacts → update**). Legacy roles: any agent. Agent-bot tokens: not allowed.

#### Example: list notes

```bash
curl -X GET 'https://online.99digital.co.il/api/v1/accounts/12/contacts/801/notes' \
  -H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'
```

Response (`200 OK`): an array of note objects.

## Authentication

`api_access_token` in the header — Your access token. A user token is in the dashboard under **Profile settings → Access Token**, and grants exactly what that agent's role allows. An agent-bot token may call only the endpoints marked for agent bots. See [Getting Started](https://docs.99digital.co.il/online-api/getting-started#authentication).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `account_id` | path | integer | Yes | The numeric ID of your account: the number after `/app/accounts/` in the dashboard URL. Example: `12`. |
| `contact_id` | path | integer | Yes | The numeric ID of the contact. Example: `801`. |

## Responses

### 200 — The contact's notes, newest first.

Content type: `application/json`

| Field | Type | Description |
| --- | --- | --- |
| `[].id` | integer | The note ID. |
| `[].content` | string | The note text. |
| `[].account_id` | integer \| null | Returned as `null`. |
| `[].contact_id` | integer \| null | Returned as `null`. |
| `[].user` | object | An agent: a user that belongs to the account. Each agent has a legacy role (`agent` / `administrator`) and, on accounts with the new rules system, a custom role (for example `General Manager` or `Shift Manager`) that grants the permissions described in [Authorization](https://docs.99digital.co.il/online-api/getting-started#authorization). **Reduced payload:** on accounts with the new rules system, a caller whose role lacks **Agents → read** gets agents without personal details — `auto_offline`, `email`, `custom_attributes`, `role`, `operation_bot`, `two_factor_type`, `phone1`, `email1` and `create_time` are left out. Agent-bot tokens always get every field. |
| `[].user.id` | integer | The agent's numeric ID (user ID). |
| `[].user.account_id` | integer | The numeric ID of the account. |
| `[].user.availability_status` | string | The availability status of the agent: their live presence, computed from the agent's connection — not only the availability the agent chose (`availability` in Add Agent and Update Agent). One of: `online` — Available — connected, with availability set to online; `busy` — Connected, with availability set to busy; `offline` — Not available — availability set to offline, or not connected. |
| `[].user.auto_offline` | boolean | Whether the agent's availability is configured to go offline automatically when they are away (when they disconnect). |
| `[].user.confirmed` | boolean | Whether the agent's account has been validated: `true` once the agent clicked the link in the invitation email they received (confirmed their email). |
| `[].user.email` | string | The agent's login email address. |
| `[].user.available_name` | string | The agent's display name. |
| `[].user.custom_attributes` | object | Free-form attributes (key-value pairs) stored on the agent's membership in this account. |
| `[].user.name` | string | The agent's full name. |
| `[].user.role` | string | The agent's role. Legacy roles: whether the agent is an `administrator` or an `agent`. New rules system: the name of the agent's custom role (for example `Shift Manager`). |
| `[].user.operation_bot` | boolean | `true` for internal operation-bot users. |
| `[].user.see_all_conversations` | boolean | Whether the agent can see all the conversations in the account. On accounts with the new rules system the role decides this (**Inbox read all conversations** in every inbox). |
| `[].user.assignable_to_inbox` | array \| null | The IDs of the inboxes in which the agent's role grants **Inbox can be assigned** (the agent may be assigned conversations there), or `null`. |
| `[].user.new_role` | string \| null | The agent's custom role name, or `null` on accounts with legacy roles. |
| `[].user.thumbnail` | string | The agent's thumbnail (avatar image) URL, or an empty string. |
| `[].user.capacity_cap` | integer \| null | The agent's own cap of open tickets for queue routing. `null` means the account default (unlimited). Returned only when the account has the queue management (`queue_management`) feature. |
| `[].user.two_factor_type` | string \| null | The agent's two-factor authentication method, or `null` when two-factor authentication is disabled. One of: `sms` — Two-factor codes are sent by SMS to `phone1`; `email` — Two-factor codes are sent by email to `email1`; `null` — Two-factor authentication is disabled. |
| `[].user.phone1` | string \| null | The phone number that receives two-factor codes by SMS. |
| `[].user.email1` | string \| null | The email address that receives two-factor codes by email. |
| `[].user.create_time` | integer | When the agent was created (Unix timestamp, in seconds). |
| `[].created_at` | integer | When the note was created (Unix time, seconds). |
| `[].updated_at` | integer | The note's last update (Unix time, seconds). |

#### Example: Notes

One note. `user`, the author, is shortened.

```json
[
  {
    "id": 71,
    "content": "Callback moved to Monday.",
    "account_id": null,
    "contact_id": null,
    "user": {
      "id": 51,
      "account_id": 12,
      "availability_status": "online",
      "name": "Jane Agent",
      "available_name": "Jane Agent",
      "email": "jane.agent@example.com",
      "role": "General Manager",
      "thumbnail": ""
    },
    "created_at": 1794470700,
    "updated_at": 1794474300
  }
]
```

### 401 — The access token is missing or wrong, or its user does not belong to this account.

Content type: `application/json`

| Field | Type | Description |
| --- | --- | --- |
| `error` | string | The error message. |

#### Example: Invalid token

The api_access_token header is missing or wrong.

```json
{
  "error": "Invalid Access Token"
}
```

#### Example: Another account

A valid token, for a user who is not in this account.

```json
{
  "error": "You are not authorized to access this account"
}
```

### 403 — The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See [Authorization](https://docs.99digital.co.il/online-api/getting-started#authorization).

Content type: `application/json`

| Field | Type | Description |
| --- | --- | --- |
| `error` | string | The error message. |

#### Example: No permission

The role lacks the permission.

```json
{
  "error": "You are not authorized to do this action"
}
```

#### Example: Agent bot

An agent-bot token on an endpoint that is not open to bots.

```json
{
  "error": "Access to this endpoint is not authorized for bots"
}
```

### 404 — The resource does not exist in this account.

Content type: `application/json`

| Field | Type | Description |
| --- | --- | --- |
| `error` | string | The error message. |

#### Example

```json
{
  "error": "Resource could not be found"
}
```
