Forum Posts

An alias for /forum_posts exists: /fposts

Search Forum Posts

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

Moderator+ Required To search hidden forum posts not created by the authenticated user.

Some posts may be in specific categories that require certain user levels to view.

Query Parameters

NameTypeDescription

search[topic_title_matches]

String

The title of the topic the forum post is in.

search[body_matches]

String

The body of the post.

search[creator_id]

Number

The ID of the creator of the forum post.

search[creator_name]

String

The name of the creator of the forum post.

search[topic_category_id]

Number

The ID of the category the topic containing the forum post is in.

search[topic_id]

Number

The ID of the topic the forum post is in.

search[is_hidden]

Boolean

If the forum post is hidden.

search[id]

Number

limit

Number

page

String

[
  {
    "body": "",
    "created_at": "0000-00-00T00:00:00.000-00:00",
    "creator_id": 0,
    "id": 0,
    "is_hidden": false,
    "topic_id": 0,
    "updated_at": "0000-00-00T00:00:00.000-00:00",
    "updater_id": 0,
    "warning_type": null, // warning, record, ban
    "warning_user_id": null
  }
]

Get Forum Post

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

Moderator+ Required If the forum post is hidden, and not created by the authenticated user.

Some posts may be in specific categories that require certain user levels to view.

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0,
  "id": 0,
  "is_hidden": false,
  "topic_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "updater_id": 0,
  "warning_type": null, // warning, record, ban
  "warning_user_id": null
}

Add Warning To Forum Post

POST https://e621.net/forum_posts/{id}/warning.json

Authorization Required

Moderator+ Required

This operation is idempotent.

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to add a warning to.

Request Body

NameTypeDescription

record_type*

String

The type of warning to add to the forum post. One of: warning, record, ban, unmark.

{
  "html": "", // new forum post html contents
  "posts": {}
}

Hide Forum Post

POST https://e621.net/forum_posts/{id}/hide.json

Authorization Required

Moderator+ Required If the forum post is not yours.

This operation is idempotent.

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to hide.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0,
  "id": 0,
  "is_hidden": false,
  "topic_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "updater_id": 0,
  "warning_type": null, // warning, record, ban
  "warning_user_id": null
}

Unhide Forum Post

POST https://e621.net/forum_posts/{id}/unhide.json

Authorization Required

Moderator+ Required

This operation is idempotent.

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to unhide.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0,
  "id": 0,
  "is_hidden": false,
  "topic_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "updater_id": 0,
  "warning_type": null, // warning, record, ban
  "warning_user_id": null
}

Create Forum Post

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

Authorization Required

Account must be at least 3 days old.

Some topics may be in specific categories that require certain user levels to reply.

Request Body

NameTypeDescription

forum_post[body]*

String

The body of the forum post.

forum_post[topic_id]*

Number

The ID of the topic to create the forum post in.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0,
  "id": 0,
  "is_hidden": false,
  "topic_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00",
  "updater_id": 0,
  "warning_type": null, // warning, record, ban
  "warning_user_id": null
}

Edit Forum Post

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

Authorization Required

Admin+ Required If the forum post is not yours.

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to edit.

Request Body

NameTypeDescription

forum_post[body]

String

The body of the forum post.

Delete Forum Post

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

Authorization Required

Admin+ Required

Create Forum Post Vote

POST https://e621.net/forum_posts/{id}/votes.json

Authorization Required

Janitor+ Required If account is less than 3 days old.

Votes can only be added to posts which are the OP of an alias request, implication request, or bulk update request.

Access denied error messages can be combined, separated by a semicolon and space (; ).

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to vote on.

Request Body

NameTypeDescription

forum_post_vote[score]*

Number

The vote to cast. One of: -1, 0, 1.

{
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "creator_id": 0,
  "creator_name": "",
  "forum_post_id": 0,
  "id": 0,
  "score": 0, // 1, 0, -1
  "updated_at": "0000-00-00T00:00:00.000-00:00"
}

Delete Forum Post Vote

DELETE https://e621.net/forum_posts/{id}/votes.json

Authorization Required

Path Parameters

NameTypeDescription

id*

Number

The ID of the forum post to delete the vote on.

{}

Last updated