dmails

Get a list of DMails

Changed on

Returns a list of DMails for the currently authenticated user.

get/dmails.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/dmails.json
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Query parameters

pageinteger

The page number to retrieve

limitinteger

The number of DMails to retrieve per page

search[title_matches]string

Filter by title text

search[message_matches]string

Filter by message body text

search[to_name]string

Filter by recipient username

search[to_id]integer

Filter by recipient user ID

search[from_name]string

Filter by sender username

search[from_id]integer

Filter by sender user ID

search[is_read]boolean

Filter by read status

search[is_deleted]boolean

Filter by deleted status

Response

A list of DMails

idinteger required

The unique ID of the DMail

owner_idinteger required

The ID of the user who owns this copy of the DMail

from_idinteger required

The ID of the sender

to_idinteger required

The ID of the recipient

titlestring required

The subject line of the DMail

bodystring required

The body text of the DMail

is_readboolean required

Whether the DMail has been read

is_deletedboolean required

Whether the DMail has been deleted

to_namestring

The recipient's username

from_namestring

The sender's username

created_atstring date-time required

When the DMail was created

updated_atstring date-time required

When the DMail was last updated

Changes