Skip to main content
POST
Python

Headers

Idempotency-Key
string

A unique identifier for the request. If the same request is sent with the same idempotency key, it will be ignored.

Body

application/json
document
object
required

The document to send

toAddress
object
required
color
boolean
default:false

Whether to print the letter in color. Defaults to black and white.

fromAddress
object

Optional sender address (defaults to Sample Healthcare)

metadata
object

Optional metadata to include with the letter

Response

Letter sent successfully

trackingId
string
required

The letter ID for tracking the mail delivery