Preview a postcard
Renders the handwritten side of a postcard as a PNG. Previews are free and never create an order. Requires the postcards:write ability.
Authorizations
A Paperjoy API key. Keys starting with pj_test_ use test mode; keys starting with pj_live_ use live mode.
Body
The handwritten message. Line breaks (\n) and blank lines are kept. The text must fit on the card; see the card_fit validation error.
300font-1 is clear, rounded handwriting. font-2 is a faster, joined-up cursive.
font-1, font-2 A sign-off written on one line at the bottom of the card. Do not send together with signature_id.
50An active custom signature ID from GET /api/signatures. Requires a plan with custom signatures. Do not send together with signature.
"sig_ZeXOkSQjTp"
Cross out one word and write it again, like a real person would. The same message always gets the same correction.
Response
A PNG image of the card.
The response is of type string.