Send a test email
/templates/{id}/testSends the rendered template once to your own verified email address. Dashboard and OAuth sessions only.
Authorization
apiKey A project API key: Authorization: Bearer s0_…
In: header
Path Parameters
1 <= length <= 64Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/templates/string/test" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "email", "id": "string", "to": "string"}Preview a template POST
Renders the published version (or the draft) as a contact of the project or a sample contact, with your variables. Variables without a value render as `[KEY]` and are listed in `missing`.
List email events GET
Events of the project, newest first, cursor-paginated. Filter with `type`, `email_id` or `recipient` (an exact address, or a case-insensitive substring).