Skip to main content
GET
/
outbound
/
logs
Get outbound email logs
curl --request GET \
  --url https://api.jetemail.com/outbound/logs \
  --header 'Authorization: Bearer <token>'
[
  {
    "uid": "abc123",
    "action": "ACCEPTED",
    "message_id": "<string>",
    "sender": "<string>",
    "receiver": "<string>",
    "mx": "<string>",
    "host": "<string>",
    "ip": "<string>",
    "response": "<string>",
    "size": 123,
    "timer": "<string>",
    "start": "<string>",
    "user": "<string>",
    "protocol": "<string>",
    "src": "<string>",
    "subject": "<string>",
    "body": "<string>",
    "originhost": "<string>",
    "transhost": "<string>",
    "transtype": "<string>",
    "headerFrom": "<string>",
    "from_address": "<string>",
    "to_address": "<string>",
    "date": "<string>",
    "rule_id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Query Parameters

limit
integer
default:50

Number of records to return (1-100)

Required range: 1 <= x <= 100
page
integer
default:1

Page number for pagination (starts from 1)

Required range: x >= 1
offset
integer
default:0

Number of records to skip (alternative to page)

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

Field to sort by

Maximum string length: 50
sort_order
enum<string>
default:DESC

Sort order

Available options:
ASC,
DESC
id
string

Filter by record ID

Maximum string length: 100
uid
string

Filter by unique identifier

action
enum<string>

Filter by email action status

Available options:
ACCEPTED,
REJECTED,
BOUNCED_HARD,
BOUNCED_SOFT,
DEFERRED,
SPAM,
VIRUS,
QUEUED
zone
string

Filter by zone

Maximum string length: 50
message_id
string

Filter by message ID

Maximum string length: 100
sender
string<email>

Filter by sender email address

receiver
string<email>

Filter by receiver email address

mx
string

Filter by MX server

Maximum string length: 100
host
string

Filter by host server

Maximum string length: 100
ip
string

Filter by IP address

response
string

Filter by server response

Maximum string length: 500
size
integer

Filter by message size

Required range: x >= 0
timer
string

Filter by timer value

Maximum string length: 20
start
string<date-time>

Filter by start date (ISO format)

user
string<email>

Filter by username

protocol
enum<string>

Filter by protocol

Available options:
smtp,
http,
https
src
string

Filter by source

Maximum string length: 50
subject
string

Filter by email subject

Maximum string length: 500
body
string

Filter by email body content

Maximum string length: 1000
md5
string

Filter by MD5 hash

interface
string

Filter by interface

Maximum string length: 50
originhost
string

Filter by origin host

Maximum string length: 100
transhost
string

Filter by transport host

Maximum string length: 100
transtype
enum<string>

Filter by transport type

Available options:
smtp,
http,
api
headerFrom
string<email>

Filter by header From field

from_address
string<email>

Filter by from address

to_address
string<email>

Filter by to address

date_from
integer

Filter by start date (Unix timestamp)

Required range: x >= 0
date_to
integer

Filter by end date (Unix timestamp)

Required range: x >= 0
from
string<date>

Filter by start date (YYYY-MM-DD or ISO format)

to
string<date>

Filter by end date (YYYY-MM-DD or ISO format)

rule_id
string

Filter by rule ID

Maximum string length: 100

General search term (searches across email fields)

Maximum string length: 200

Response

Successfully retrieved logs

uid
string

Unique identifier

Example:

"abc123"

action
enum<string>

Email action status

Available options:
ACCEPTED,
REJECTED,
BOUNCED_HARD,
BOUNCED_SOFT,
DEFERRED,
SPAM,
VIRUS,
QUEUED
message_id
string

Email message ID

sender
string

Sender information

receiver
string

Receiver information

mx
string

MX server

host
string

Host server

ip
string

IP address

response
string

Server response

size
integer

Message size

timer
string

Timer value

start
string

Start time

user
string

Username

protocol
string

Protocol used

src
string

Source identifier

subject
string

Email subject

body
string

Email body content

originhost
string

Origin host

transhost
string

Transport host

transtype
string

Transport type

headerFrom
string

From header value

from_address
string

Sender email address

to_address
string

Recipient email address

date
string

Transaction date

rule_id
string

Applied rule identifier