List messages
Returns a paginated list of messages received in the specified inbox, ordered newest first.
Path parameters:
:inbox— URL-encoded inbox address (e.g.,test%40domain.com)
Query parameters:
limit(optional) — Number of messages to return per page. Default:20. Max:100.before(optional) — Cursor for pagination. Pass theidof the last message from the previous page to fetch the next page.
Response fields (per message):
id— Unique message identifierfrom— Sender addresssubject— Email subject linereceivedAt— ISO 8601 timestampotp—"__DETECTED__"if an OTP was found but plan is below Growth; full value on Growth+
Behaviour:
- Returns an empty array
[]if no messages have been received. - Use the
beforecursor with the lastidin the response to paginate through older messages.
Plan: All plans (Free and above). Full OTP value in listing requires Growth plan or higher.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
inbox
Query parameters
limit
before
Message ID — returns messages older than this
Response
OK
success
data
Errors
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error