Skip to main content
GET
/
inbound
/
account
/
logs
Get logs for all account domains
curl --request GET \
  --url https://api.jetemail.com/inbound/account/logs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "_domain": "example.com",
      "_domain_uuid": "550e8400-e29b-41d4-a716-446655440000",
      "_domain_type": "domain",
      "uid": "67020a88e9ab3a023e12",
      "status": "delivered",
      "from": "sender@example.com",
      "to": "recipient@example.com",
      "subject": "Re: Online afspraken",
      "rejected_count": 12,
      "delivery_count": 1,
      "delivered_timestamp": 1776972847891,
      "rejected_response": "RCPT TO failed for info@example.com: 450 4.1.8 ...",
      "response": "250 2.0.0 Ok: queued as 638B63A5AD5",
      "actions": [
        {
          "id": "bc1ca372-0000-0000-0000-000000000000",
          "logtype": "inbound",
          "response": "250 2.0.0 Ok: queued as 638B63A5AD5",
          "date": 1776933973950,
          "timestamp": "2026-04-23T08:46:13.950Z",
          "host": "",
          "ip": "",
          "port": 0,
          "mode": "",
          "delay": 0,
          "spam_score": 0,
          "spam_report": ""
        }
      ]
    }
  ],
  "pagination": {
    "total": 450,
    "limit": 100,
    "offset": 0,
    "returned": 100
  },
  "domains_queried": [
    {
      "domain": "example.com",
      "domain_uuid": "<string>",
      "domain_type": "domain",
      "count": 123,
      "status": "success"
    }
  ],
  "total_domains": 5,
  "domains_included": 5
}

Documentation Index

Fetch the complete documentation index at: https://jetemail.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for account management endpoints. Use your api_ prefixed token.

Query Parameters

domains
string

Comma-separated list of domain names to filter to (e.g. "example.com,mail.example.com"). If omitted, queries all domains in the account (up to 20).

logtype
enum<string>

Filter by log type

Available options:
spam,
delivery,
inbound,
outbound
to
string<email>

Filter by recipient email

from
string<email>

Filter by sender email

subject
string

Filter by subject

Maximum string length: 500
ip
string

Filter by IP address

date_from
integer

Start of date range (Unix timestamp)

date_to
integer

End of date range (Unix timestamp)

spamscore_min
number

Minimum spam score filter

spamscore_max
number

Maximum spam score filter

host
string

Filter by host

port
integer

Filter by port number

Required range: 1 <= x <= 65535
mode
enum<string>

Filter by connection mode

Available options:
smtp,
http,
https
limit
integer
default:100

Number of entries to return (applied after merging all domains)

Required range: 1 <= x <= 1000
offset
integer

Number of entries to skip

Required range: x >= 0
page
integer

Page number (alternative to offset, takes precedence)

Required range: x >= 1
sort_by
string
default:date

Field to sort by

sort_order
enum<string>
default:DESC

Sort direction

Available options:
ASC,
DESC

Response

Successfully retrieved account-wide logs

success
boolean
Example:

true

data
object[]

Merged and sorted consolidated log entries from all queried domains. Each entry represents a single inbound email (keyed by uid) with aggregated delivery/rejection counts and an actions array of underlying log rows. Entries are tagged with _domain, _domain_uuid, and _domain_type identifying the source domain.

pagination
object
domains_queried
object[]

Status of each domain query

total_domains
integer

Total number of domains in the account

Example:

5

domains_included
integer

Number of domains actually queried (may be capped at 20)

Example:

5