# Note

> This is a subset of the full specification, limited to the `note` schema.
>
> 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 `note` schema.
  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: []
paths: {}
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
    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>
    team_priority_level:
      title: Team Priority Level
      type: object
      nullable: true
      description: Admin priority levels for teams
      properties:
        primary_team_ids:
          type: array
          description: The primary team ids for the team
          nullable: true
          example:
            - 814865
          items:
            type: integer
        secondary_team_ids:
          type: array
          description: The secondary team ids for the team
          nullable: true
          example:
            - 493881
          items:
            type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
