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

# Create a note

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Nutshell API",
    "description": "The most powerful API in the world",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "app.nutshell.com/rest"
    }
  ],
  "paths": {
    "/notes": {
      "post": {
        "tags": [
          "Notes"
        ],
        "summary": "Create a note",
        "operationId": "d75ec624406914f4ac17a0cf1fc38d05",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/notePostInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "notePostInput": {
        "properties": {
          "data": {
            "properties": {
              "body": {
                "description": "The text to display on the note",
                "example": "Hello World!"
              },
              "links": {
                "description": "The entity to attach the note to",
                "properties": {
                  "parent": {
                    "description": "The entity to attach the note to",
                    "type": "string",
                    "example": "3-contacts"
                  }
                },
                "type": "object",
                "example": "3-contacts"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "Note": {
        "type": "object",
        "allOf": [
          {
            "$ref": "#/components/schemas/HtmlLinkable"
          },
          {
            "properties": {
              "id": {
                "description": "The API ID of this entity, formatted {integer}-{entityType}",
                "type": "string",
                "example": "3-contacts"
              },
              "createdTime": {
                "type": "string"
              },
              "deletedTime": {
                "type": "string"
              },
              "href": {
                "type": "string"
              },
              "body": {
                "type": "string"
              },
              "bodyHtml": {
                "type": "string"
              },
              "bodyMarkup": {
                "type": "string"
              },
              "isEditable": {
                "type": "boolean"
              },
              "parentType": {
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      },
      "HtmlLinkable": {
        "description": "Adds an htmlUrl string attribute that represents a URL of an HTML representation of the\nresponse model.",
        "properties": {
          "htmlUrl": {
            "description": "The link to the entity within the app.",
            "type": "string",
            "example": "https://app.nutshell.com/lead/1006"
          },
          "htmlUrlPath": {
            "description": "The path to the entity within the app.",
            "type": "string",
            "example": "/lead/1006"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "Notes",
      "description": "Notes"
    }
  ]
}
```