Skip to main content
GET
Search authorized synced mailbox headers with bounded cursor pagination. isDone covers stored records, not provider completeness

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Query Parameters

limit
integer
Required range: 1 <= x <= 50
cursor
string
mailbox
string
from
string
Required string length: 1 - 500
to
string
Required string length: 1 - 500
subject
string
Required string length: 1 - 500
query
string

Words that must all appear in the subject, sender or recipients (case-insensitive).

Required string length: 1 - 500
after
number

Inclusive Unix milliseconds; missing sentAt falls back to createdAt.

before
number

Exclusive Unix milliseconds.

direction
enum<string>
Available options:
inbound,
outbound

Response

Successful response

page
object[]
required
continueCursor
string | null
required
isDone
boolean
required
coverage
object
required
order
string
required
Allowed value: "sentAt_desc_then_undated"