Templates
Templates are authored and managed from the Dispatch dashboard. The developer API does not currently expose template CRUD.
To use a template from an integration, reference its template_id when sending:
POST /api/v1/emails
Authorization: Bearer {api_key}json
{
"from": "[email protected]",
"to": ["[email protected]"],
"template_id": "tmpl_abc123",
"variables": {
"name": "Alice",
"action_url": "https://example.com/activate?token=..."
}
}See Email API for the full request schema.