Send a transactional email
Changed onSend one transactional email from this template to one recipient. The template must be made transactional first. message_data fills the template's {{ variables.* }} placeholders. Transactional emails skip opt-outs and frequency caps. Send an Idempotency-Key header to retry safely without sending the email twice.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/messaging_templates/{id}/send/
- Auth: HTTP bearer
Path parameters
A UUID string identifying this message template.
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Headers
A unique key for this email, 1 to 255 visible ASCII characters. Retrying with the same key and the same request within 24 hours sends nothing new and returns the first send's message_id. Reusing a key for a different request returns a 422.
Request body
Response
Email queued
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info