Skip to main content
POST
/
email
/
retrieve
Retrieve sent email HTML
curl --request POST \
  --url https://emails.platform.arb.inc/email/retrieve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idempotencyKey": "user-123:notice-2025-08-00292"
}
'
{
  "html": "<html><body><h1>Notice of Service</h1><p>This is to notify you...</p></body></html>",
  "subject": "Notice of Service - Case 2025-08-00292"
}

Authorizations

Authorization
string
header
required

access token

Body

application/json
idempotencyKey
string
required

Unique key used when the email was originally sent

Required string length: 1 - 200
Example:

"user-123:notice-2025-08-00292"

Response

Successfully retrieved email HTML and subject

html
string

Rendered HTML content of the email

Example:

"<html><body><h1>Notice of Service</h1><p>This is to notify you...</p></body></html>"

subject
string

Email subject line

Example:

"Notice of Service - Case 2025-08-00292"