Notca Docs

Create note

Create a new note for the authenticated user

POST
/api/v1/notes
x-api-key<token>

In: header

contentstring

Note content in Markdown format. Supported formatting: bold, italic, underline, strikethrough, code, link.

Length1 <= length
files?
Default[]
folderIdstring
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.notca.co/api/v1/notes" \  -H "Content-Type: application/json" \  -d '{    "content": "This is **bold**, *italic*, __underline__, ~~strikethrough~~, `code` and a [link](https://example.com) content in markdown format.",    "files": [],    "folderId": "9a1b2c3d-4e5f-6789-abcd-ef0123456789"  }'
{
  "id": "string",
  "content": "string",
  "files": [
    "string"
  ],
  "isPublic": true,
  "folderId": "string",
  "userId": "string",
  "createdAt": "2019-08-24",
  "updatedAt": "2019-08-24",
  "folderName": "string"
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}
{
  "error": "string",
  "details": null
}