staff

Get a list of automod DMails

Changed on

Returns the DMails owned by the system user, which are the messages sent by automod. Requires staff-level access.

get/staff/automod/dmails.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/staff/automod/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[id]string

Filter by DMail ID

search[created_at]string

Filter by the creation date of the DMail

search[updated_at]string

Filter by the last update date of the DMail

search[title_matches]string

Filter by the DMail subject line

search[message_matches]string

Filter by the DMail body text

search[to_id]integer

Filter by the ID of the recipient

search[to_name]string

Filter by the username of the recipient

search[from_id]integer

Filter by the ID of the sender

search[from_name]string

Filter by the username of the sender

search[is_read]boolean

Filter by whether the DMail has been read

search[is_deleted]boolean

Filter by whether the DMail has been deleted

search[read]boolean

When true, return only read DMails; when false, return only unread and undeleted DMails

Response

A list of automod 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