# List all notes

`GET /contacts/{contact_id}/notes`

> This is a subset of the full specification, limited to the `GET /contacts/{contact_id}/notes` operation.
>
> You can find the full specification here: /_bundle/docs/references/@2.18/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.18'
  description: This is a subset of the full specification, limited to the `GET /contacts/{contact_id}/notes` operation. Components more than 3 `$ref` hops away are not included.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
tags:
  - name: Contacts
    description: Everything about your contacts
  - name: Notes
    description: Everything about your Notes
paths:
  /contacts/{contact_id}/notes:
    get:
      summary: List all notes
      parameters:
        - name: contact_id
          in: path
          required: true
          description: The unique identifier of a contact.
          schema:
            type: string
        - name: page
          in: query
          required: false
          description: The page of results to return. Defaults to `1`.
          example: 1
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: The number of notes to return per page. Defaults to `50`, maximum `60`.
          example: 50
          schema:
            type: integer
        - name: order
          in: query
          required: false
          description: The order the notes are returned in, by id. Defaults to `desc`.
          example: desc
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: Intercom-Version
          in: header
          schema:
            $ref: '#/components/schemas/intercom_version'
      tags:
        - Notes
        - Contacts
      operationId: listNotes
      description: |
        You can fetch a list of notes that are associated to a contact.

        Requires the `read_users_companies` or `read_write_users` OAuth scope.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              examples:
                Successful response:
                  value:
                    type: list
                    data:
                      - type: note
                        id: '26'
                        created_at: 1733932587
                        contact:
                          type: contact
                          id: 6762f0ab1bb69f9f2193bb60
                        author:
                          type: admin
                          id: '991267581'
                          name: Ciaran122 Lee
                          email: admin122@email.com
                          away_mode_enabled: false
                          away_mode_reassign: false
                        body: <p>This is a note.</p>
                      - type: note
                        id: '25'
                        created_at: 1733846187
                        contact:
                          type: contact
                          id: 6762f0ab1bb69f9f2193bb60
                        author:
                          type: admin
                          id: '991267581'
                          name: Ciaran122 Lee
                          email: admin122@email.com
                          away_mode_enabled: false
                          away_mode_reassign: false
                        body: <p>This is a note.</p>
                      - type: note
                        id: '24'
                        created_at: 1733846187
                        contact:
                          type: contact
                          id: 6762f0ab1bb69f9f2193bb60
                        author:
                          type: admin
                          id: '991267581'
                          name: Ciaran122 Lee
                          email: admin122@email.com
                          away_mode_enabled: false
                          away_mode_reassign: false
                        body: <p>This is a note.</p>
                    total_count: 3
                    pages:
                      type: pages
                      next: null
                      page: 1
                      per_page: 50
                      total_pages: 1
              schema:
                $ref: '#/components/schemas/note_list'
        '400':
          description: Bad Request
          content:
            application/json:
              examples:
                Page size too big:
                  value:
                    type: error.list
                    request_id: 6f3b2d41-7ce9-4a05-91d8-2b74e0c6a93f
                    errors:
                      - code: parameter_invalid
                        message: Per Page is too big
              schema:
                $ref: '#/components/schemas/error'
        '401':
          description: Unauthorized
          content:
            application/json:
              examples:
                Unauthorized:
                  value:
                    type: error.list
                    request_id: 3a7d90c5-14e6-4b28-bf03-85c1d6e742ab
                    errors:
                      - code: unauthorized
                        message: Access Token Invalid
                Token lacks required scope:
                  value:
                    type: error.list
                    request_id: 9b5e41a7-0d38-4c6f-a920-7e3f85b14c6d
                    errors:
                      - code: token_unauthorized
                        message: Not authorized to access resource
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: Contact not found
          content:
            application/json:
              examples:
                Contact not found:
                  value:
                    type: error.list
                    request_id: 57055cde-3d0d-4c67-b5c9-b20b80340bf0
                    errors:
                      - code: not_found
                        message: User Not Found
              schema:
                $ref: '#/components/schemas/error'
components:
  schemas:
    admin:
      title: Admin
      type: object
      x-tags:
        - Admins
      description: Admins are teammate accounts that have access to a workspace.
      nullable: true
      properties:
        type:
          type: string
          description: String representing the object's type. Always has the value `admin`.
          example: admin
        id:
          type: string
          description: The id representing the admin.
          example: '1295'
        name:
          type: string
          description: The name of the admin.
          example: Joe Example
        email:
          type: string
          description: The email of the admin.
          example: jdoe@example.com
        job_title:
          type: string
          description: The job title of the admin.
          example: Associate
        away_mode_enabled:
          type: boolean
          description: Identifies if this admin is currently set in away mode.
          example: false
        away_mode_reassign:
          type: boolean
          description: Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
          example: false
        away_status_reason_id:
          type: integer
          nullable: true
          description: The unique identifier of the away status reason. Not returned by List all admins.
          example: 12345
        has_inbox_seat:
          type: boolean
          description: Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
          example: true
        team_ids:
          type: array
          description: The ids of the teams the admin belongs to. When the workspace has a default team, its id is the last item.
          example:
            - 814865
          items:
            type: integer
        avatar:
          type: object
          nullable: true
          description: The teammate's avatar image. On List all admins it is only included when `display_avatar` is `true`. Elsewhere it is left out when the teammate has neither an uploaded avatar nor a gravatar.
          properties:
            type:
              type: string
              description: Value is `avatar`. Returned by List all admins only.
              example: avatar
            image_url:
              type: string
              format: uri
              nullable: true
              description: The URL of the avatar image.
              example: https://picsum.photos/200/300
        team_priority_level:
          $ref: '#/components/schemas/team_priority_level'
        role:
          type: object
          nullable: true
          description: The role assigned to this admin. Only present if the admin has a role assigned.
          properties:
            type:
              type: string
              description: String representing the object's type. Always has the value `role`.
              example: role
            id:
              type: string
              description: The id of the role.
              example: '1'
            name:
              type: string
              description: The name of the role.
              example: Support Agent
    error:
      type: object
      title: Error
      description: The API will return an Error List for a failed request, which will contain one or more Error objects.
      properties:
        type:
          type: string
          description: The type is error.list
          example: error.list
        request_id:
          type: string
          nullable: true
          format: uuid
          description: ''
          example: f93ecfa8-d08a-4325-8694-89aeb89c8f85
        errors:
          type: array
          description: An array of one or more error objects
          items:
            properties:
              code:
                type: string
                description: A string indicating the kind of error, used to further qualify the HTTP response code.
                example: unauthorized
              message:
                type: string
                nullable: true
                description: Optional. Human readable description of the error.
                example: Access Token Invalid
              data:
                type: object
                nullable: true
                additionalProperties: true
                description: Optional. Extra detail about the error, for example `required_permissions` on a 403 `action_forbidden` error.
                example:
                  required_permissions:
                    - read_conversations
            required:
              - code
      required:
        - type
        - errors
    intercom_version:
      description: Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
      type: string
      example: '2.18'
      enum:
        - '1.0'
        - '1.1'
        - '1.2'
        - '1.3'
        - '1.4'
        - '2.0'
        - '2.1'
        - '2.2'
        - '2.3'
        - '2.4'
        - '2.5'
        - '2.6'
        - '2.7'
        - '2.8'
        - '2.9'
        - '2.10'
        - '2.11'
        - '2.12'
        - '2.13'
        - '2.14'
        - '2.15'
        - '2.16'
        - '2.17'
        - '2.18'
    note:
      title: Note
      type: object
      x-tags:
        - Notes
      description: Notes allow you to annotate and comment on your contacts and companies. A note is attached to either a contact or a company, never both.
      properties:
        type:
          type: string
          description: String representing the object's type. Always has the value `note`.
          example: note
        id:
          type: string
          description: The id of the note.
          example: '17495962'
        created_at:
          type: integer
          format: timestamp
          description: The time the note was created.
          example: 1674589321
        contact:
          type: object
          description: Represents the contact that the note was created about.
          nullable: true
          properties:
            type:
              type: string
              description: String representing the object's type. Always has the value `contact`.
            id:
              type: string
              description: The id of the contact.
              example: 214656d0c743eafcfde7f248
        company:
          type: object
          description: Represents the company that the note was created about.
          nullable: true
          properties:
            type:
              type: string
              description: String representing the object's type. Always has the value `company`.
            id:
              type: string
              description: The id of the company.
              example: 5f4d3c1c-7b1b-4d7d-a97e-6095715c6632
        author:
          type: object
          nullable: true
          description: Represents the Admin that created the note. When the note has no recorded admin, this is `null` on a single note and left out of each note in a list.
          allOf:
            - $ref: '#/components/schemas/admin'
        body:
          type: string
          description: The body text of the note.
          example: <p>Text for the note.</p>
    note_list:
      title: Paginated Response
      type: object
      description: A paginated list of notes associated with a contact or a company. On the last page, `pages.next` is `null`. These lists never send `pages.prev`.
      properties:
        type:
          type: string
          description: String representing the object's type. Always has the value `list`.
          example: list
        data:
          type: array
          description: An array of notes.
          items:
            $ref: '#/components/schemas/note'
        total_count:
          type: integer
          description: A count of the total number of notes.
          example: 1
        pages:
          $ref: '#/components/schemas/pages_link'
    pages_link:
      title: Pagination Object
      type: object
      description: |
        The majority of list resources in the API are paginated to allow clients to traverse data over multiple requests.

        Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows.
      properties:
        type:
          type: string
          example: pages
          enum:
            - pages
        page:
          type: integer
          example: 1
        next:
          type: string
          format: uri
          description: A link to the next page of results. Omitted or `null` on the last page, depending on the list. Some lists never include `next` or `prev`, so compare `page` with `total_pages` to tell whether more pages remain.
          nullable: true
        prev:
          type: string
          format: uri
          description: A link to the previous page of results. Omitted on the first page.
          nullable: true
        per_page:
          type: integer
          example: 50
        total_pages:
          type: integer
          example: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
