Parse an email

post
/email-parses

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.

subject
string
required

Email Subject.

>= 1 characters<= 512 characters
from
string
required

Email From.

<= 128 characters
content
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
labels
array[string]

Labels generated by email service providers such as Gmail

<= 50 items
Auth
:
Body
preparing...