Email Notification

Email Notification Webhook

Once Altas' email service receives the airline's email, the customer will receive the email.all notification on the server.

EndPoint: The URL you configured to receive notifications

Method: Post

cid

  • Type: String

  • Required: Yes

  • Description: Unique client identifier.

  • Default: None

  • Example: "XXXXX"

notificationId

  • Type: String

  • Required: Yes

  • Description: Unique identifier for the notification event.

  • Default: None

  • Example: "20240105105430470MJMOR"

status

  • Type: Integer

  • Required: Yes

  • Description: In this type of notification status always = -1. This is an internal field and should be ignored.

  • Default: None

  • Example: -1

type

  • Type: String

  • Required: Yes

  • Description: Notification type.

  • Default: None

  • Example: "email.all"

data

  • Type: Object

  • Required: Yes

  • Description: Contains email-related details.

  • Default: None

  • Example: { ... }

data.orderNo

  • Type: String

  • Required: Yes

  • Description: Order number associated with the email.

  • Default: None

  • Example: "XXXXXX"

data.emailReceivingDate

  • Type: String

  • Required: Yes

  • Description: Date and time when the email was received by Atlas (UTC). Format: YYYY-MM-DD HH:mm:ss.

  • Default: None

  • Example: "2024-01-05 10:54:21"

data.uniqueCode

  • Type: String

  • Required: Yes

  • Description: Unique code for identifying the email.

  • Default: None

  • Example: "e4afbecfd5727817ff73a71a94a2a64d"

data.emailCategory

  • Type: String

  • Required: Yes

  • Description: Atlas email categories. Atlas categorizes emails but does not guarantee accuracy in classification.

  • Valid values:

    • Schedule change

    • Receipt

    • Payment Success

    • Verification

    • Trip Reminder

    • Promo code

    • Travel Itinerary

    • Advertisement

    • PNR Cancellation Success

    • Payment Due

    • Unidentified

    • Duplicated Schedule Change

    • Unaccounted Cancellation

  • Default: None

  • Example: "Payment Success"

data.from

  • Type: String

  • Required: Yes

  • Description: Sender’s email address.

  • Default: None

data.to

  • Type: String

  • Required: Yes

  • Description: Recipient’s email address.

  • Default: None

data.emailSubject

  • Type: String

  • Required: Yes

  • Description: Subject of the email.

  • Default: None

  • Example: "easyJet booking reference: XXXXX"

data.emailLink

  • Type: String

  • Required: Yes

  • Description: URL link to access the email content. Email Link is only valid for 10 mins.

  • Default: None

  • Example: "http://order-oss-sg.oss-ap-southeast-1.aliyuncs.com/...eml?Expires=1704426870..."

data.createTime

  • Type: String

  • Required: Yes

  • Description: 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.

  • Default: None

  • Example: "2024-01-05 10:54:26

Last updated