POST
/
v1
/
notes
Create note
curl --request POST \
  --url https://dovetail.com/api/v1/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "My First Note",
  "fields": [
    {
      "label": "<string>",
      "value": "<string>",
      "type": "BOOLEAN"
    }
  ],
  "content": "This is my new note that will talk about the key learnings of the interview.",
  "project_id": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "type": "note",
    "title": "<string>",
    "project": {
      "id": "<string>",
      "title": "<string>"
    },
    "fields": [
      {
        "label": "<string>",
        "value": "<string>",
        "type": "BOOLEAN"
      }
    ],
    "files": [
      {
        "id": "<string>",
        "name": "<string>",
        "type": "<string>",
        "status": "completed",
        "author": {
          "id": "<string>",
          "name": "<string>"
        },
        "created_at": "<string>"
      }
    ],
    "created_at": "<string>",
    "deleted": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body

project_id
string
required

Unique identifier of the project that the note is associated with.

title
string

The note's title.

Maximum length: 200
Example:

"My First Note"

fields
object[]

The note's fields.

content
string

The initial content of the note, which may include plain text or HTML content.

Maximum length: 100000
Example:

"This is my new note that will talk about the key learnings of the interview."

Response

201

data
object
required