Parse an email V2

post
/email-parses-v2

Parse orders and tracking detail from an email.

AfterShip Parser only returns parsing results that meet the conditions of the minimum valid parsing results during parsing. See Minimum Valid Parsing Result.

The size of the Request Body must be at most 27MB.

headers
array[EmailHeader]
required

Email headers in the raw email data. It is recommended to pass all headers for improving the parsing process, especially Subject , From , Message-ID, References, and Delivered-To.Show all...

<= 100 items
name
string
required

Email header name.

<= 128 characters
value
string
required

Email header value.

<= 10240 characters
body
object

At least one out of HTML or text is required. HTML is recommended for a much better result.

html
string
required

The HTML content of an email.

>= 1 characters
text
string
required

The text content of an email.

>= 1 characters
attachments
array[Attachment] or null

Attachments of an email.Show all...

<= 30 items
labels
array[string]

Labels generated by email service providers such as Gmail

<= 50 items
country_region
string

ISO 3166 Alpha-3 code of the country or region. See ISO 3166 Country codes.

Auth
:
Body
preparing...