Key-value pairs for filling in template placeholders. The keys must match the placeholder names in your template.If your template has no placeholders, you can send an empty request body.
{ "id": "f33517ff-2a88-4f6e-b855-c550268ce08a", "type": "email", "version": 3, "body": "Hello John Smith,\n\nYour reference number is REF-12345.", "subject": "Your application has been received", "html": "<p>Hello John Smith,</p><p>Your reference number is REF-12345.</p>", "postage": null}
{ "id": "b2c3d4e5-f6a7-4b6c-9d0e-1f2a3b4c5d6e", "type": "letter", "version": 2, "body": "Dear Sarah Jones,\n\nThis is to confirm your appointment on 15 March 2024.", "subject": null, "html": null, "postage": "second"}