DMails

This api is intentionally limited, you cannot create dmails.

Get DMails

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

Authorization Required

Query Parameters

NameTypeDescription

search[title_matches]

String

The title of the dmail.

search[message_matches]

String

The body of the dmail.

search[to_name]

String

The recipient of the dmail.

search[from_name]

String

The sender of the dmail.

limit

Number

page

String

[
  {
    "body": "",
    "created_at": "0000-00-00T00:00:00.000-00:00",
    "from_id": 0,
    "id": 0,
    "is_deleted": false,
    "is_read": false,
    "owner_id": 0,
    "title": "",
    "to_id": 0,
    "updated_at": "0000-00-00T00:00:00.000-00:00"
  }
]

Get DMail

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

Authorization Required

Fetching a dmail does not mark it as read.

Path Parameters

NameTypeDescription

id*

Number

The ID of the dmail to get.

{
  "body": "",
  "created_at": "0000-00-00T00:00:00.000-00:00",
  "from_id": 0,
  "id": 0,
  "is_deleted": false,
  "is_read": false,
  "owner_id": 0,
  "title": "",
  "to_id": 0,
  "updated_at": "0000-00-00T00:00:00.000-00:00"
}

Delete DMail

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

Authorization Required

This operation is idempotent.

Path Parameters

NameTypeDescription

id*

Number

The ID of the dmail to delete.

<html><body>You are being <a href="https://e621.net/dmails">redirected</a>.</body></html>

Mark DMail As Read

PUT https://e621.net/dmails/{id}/mark_as_read.json

Authorization Required

This operation is idempotent.

Path Parameters

NameTypeDescription

id*

Number

The ID of the dmail to mark as read.

Mark All DMails As Read

PUT https://e621.net/dmails/mark_all_as_read.json

Authorization Required

<html><body>You are being <a href="https://e621.net/dmails">redirected</a>.</body></html>

Last updated