Get email insights
The check results and score for one email. Answers 404 when the email has no insights. BillionSend extension.
GET
/emails/{id}/insights授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
路径参数
idstring<uuid>必填响应
200
Best-practice check results and score computed when the email was sent
objectstring必填允许值:
email_insightsemail_idstring<uuid>必填scorenumber必填Best-practice score, 0-10, one decimal
score_versioninteger必填bandstring必填允许值:
excellentgoodneeds_attentionat_riskmarketingboolean必填html_size_bytesinteger | null必填computed_atstring必填checksobject[]必填显示属性隐藏属性
object 数组idstring必填Check id from the @billionsend/core check catalog
severitystring必填允许值:
criticalmajorminorinfostatusstring必填允许值:
passfailpassed_by_designnot_applicableunknownpenaltynumber必填Points deducted from the score; 0 unless status is fail
detailobject401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填403
Restricted API key
statusCodenumber必填namestring必填messagestring必填404
Not found
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填