Get a link to send a preview
request_sendGet a link where the person checks a previewed letter or postcard and sends it themselves on letterirl.com: they press Send on that page, or pay there with Pay & Send for mail no letter pack pays for. Use it when the person wants to send a preview and no preview card with a Send button is showing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draftId": "<draftId>"
},
"name": "request_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draftId from a letter or postcard preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| mailType | Yes | ||
| schedule | No | The preview's arrival dates, YYYY-MM-DD: once sent, it waits until its mail date | |
| mailService | No | Present only when the letter goes as certified mail: certified, or certified_return_receipt (with an electronic return receipt). Paid with Pay & Send. | |
| paidPerSend | No | Present when the person pays for it with Pay & Send on that page: letter packs and gift letters pay only for one-page letters and 6x9 postcards, and never for certified mail | |
| expiresAtISO | Yes | ||
| confirmationUrl | Yes | Where the person checks the preview and sends it themselves | |
| recipientSummary | Yes |