---
title: "Email List"
method: POST
path: "/queryMail.do"
tags: ["Other Functions"]
---

# Email List

`POST /queryMail.do`

**Dependency**
No preceding function needs to be carried out.

**Endpoint:**
https://sandbox.atriptech.com/queryMail.do

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `Accept-Encoding` string, required
- `x-atlas-client-id` string, required
- `x-atlas-client-secret` string, required

## Request body

- object
  - `orderNo` string, nullable — Order number. At least one of the order number, receiving time and/or creation time must be specified for querying.
  - `emailReceivingDateStart` string, nullable — Start of the receiving time. The time Atlas received the airline's email. Format: yyyy-MM-dd hh:mm:ss UTC+08:00
  - `emailReceivingDateEnd` string, nullable — End of the receiving time. The time Atlas received the airline's email. Format: yyyy-mm-dd hh:mm:ss UTC+08:00. You can only query data for up to one month at a time
  - `createTimeStart` string, nullable — Start of creation time. Create Time is the time when Atlas created this email record in the Email list. Generally, it will be later than the receiving time. Format: yyyy-mm-dd hh:mm:ss UTC+08:00
  - `createTimeEnd` string, nullable — End of creation time. Create Time is the time when Atlas created this email record in the Email list. Generally, it will be later than the receiving time. Format: yyyy-MM-dd hh:mm:ss UTC+08:00 You can only query data for up to one month at a time.
  - `emailCategories` string, nullable — Atlas email categories. Atlas categorizes emails but does not guarantee accuracy in classification. -`Travel Itinerary` -`Schedule Change` -`Payment Due` -`Payment Success` -`Receipt` -`Trip Reminder` -`PNR Cancellation Success` -`Advertisement` -`Duplicated Schedule Change` -`Verification` -`Unaccounted Cancellation` -`Promo code`
  - `pageIndex` string, nullable
  - `pageSize` string, nullable

## Response `200`

- object
  - `status` integer, required
  - `msg` string, nullable
  - `hasNext` boolean, required — -`true`: There is also the next page -`false`: There is not the next page
  - `records` object[], required
    - `orderNo` string, required — Order number
    - `emailReceivingDate` string, required — The time Atlas received the airline's email. Format: yyyy-MM-dd HH:mm:ss UTC+08:00
    - `uniqueCode` string, required — Unique Code of the email
    - `emailCategory` string, required — Atlas email categories. Atlas categorizes emails but does not guarantee accuracy in classification.
    - `from` string, required — Email “from” address
    - `to` string, required — Email “to” address
    - `emailSubject` string, required — Email “Subject”
    - `emailLink` string, nullable — Email Link. Email Link is only valid for 10 mins.
    - `createTime` string, required — Create Time is the time when Atlas created this email record in the Email list. Generally, it will be later than the receiving time. Format: yyyy-MM-dd HH:mm:ss UTC+08:00

---

[API](https://skmtc.net/atriptech/apis/default-module.md) · [All operations](https://skmtc.net/atriptech/apis/default-module/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atriptech/default-module/revisions/8e9a8f8010ab/schema)
