Notes

The notes route returns errors differently than other routes. Errors are concentrated in a single reasons key at the root.

Search Notes

GET https://e621.net/notes.json

Query Parameters

NameTypeDescription

search[body_matches]

String

The body of the note.

search[is_active]

String

If the note is active.

search[post_id]

Number

The ID of the post the note is on. Multiple posts can be provided as a comma separated list.

search[post_tags_match]

String

The tags of the post the note is on.

search[creator_name]

String

The name of the creator of the note.

search[creator_id]

String

The ID of the creator of the note.

search[id]

Number

limit

Number

page

String

[
  {
    "body": "",
    "created_at": "0000-00-00T00:00:00.000-00:00",
    "creator_id": 0, // user id
    "creator_name": "",
    "height": 0,
    "id": 0,
    "is_active": true,
    "post_id": 0,
    "updated_at": "0000-00-00T00:00:00.000-00:00",
    "version": 0,
    "width": 0,
    "x": 0,
    "y": 0
  }
]

Get Note

GET https://e621.net/notes/{id}.json

Path Parameters

NameTypeDescription

id*

String

The ID of the note to get.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0, // user id
  "creator_name": "",
  "height": 0,
  "id": 0,
  "is_active": true,
  "post_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "version": 0,
  "width": 0,
  "x": 0,
  "y": 0
}

Create Note

POST https://e621.net/notes.json

Authorization Required

Privileged+ Required If account is less than one week old.

Request Body

NameTypeDescription

note[post_id]*

String

The ID of the post to create the note on.

note[x]*

Number

The X coordinate of the note.

note[y]*

Number

The Y coordinate of the note.

note[width]*

Number

The width of the note.

note[height]*

Number

The height of the note.

note[body]*

String

The body of the note.

note[html_id]

String

A pass-through string.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0, // user id
  "creator_name": "",
  "height": 0,
  "id": 0,
  "is_active": true,
  "post_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "version": 0,
  "width": 0,
  "x": 0,
  "y": 0,
  "html_id": null
}

Edit Note

PATCH https://e621.net/notes/{id}.json

Authorization Required

Privileged+ Required If account is less than one week old.

Path Parameters

NameTypeDescription

id*

String

The ID of the note to edit.

Request Body

NameTypeDescription

note[x]

Number

The X coordinate of the note.

note[y]

Number

The Y coordinate of the note.

note[width]

Number

The width of the note.

note[height]

Number

The height of the note.

note[body]

String

The body of the note.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0, // user id
  "creator_name": "",
  "height": 0,
  "id": 0,
  "is_active": true,
  "post_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "version": 0,
  "width": 0,
  "x": 0,
  "y": 0
}

Delete Note

DELETE https://e621.net/notes/{id}.json

Authorization Required

Privileged+ Required If account is less than one week old.

This operation is idempotent.

A success will be returned even if the note does not exist.

Deleting a note does not actually delete it, it just changes is_active to false.

Path Parameters

NameTypeDescription

id*

String

The ID of the note to edit.

Request Body

NameTypeDescription

note[x]

Number

The X coordinate of the note.

note[y]

Number

The Y coordinate of the note.

note[width]

Number

The width of the note.

note[height]

Number

The height of the note.

note[body]

String

The body of the note.

Last updated