Send Publiq emails from Zapier
Use the "Webhooks by Zapier → POST" action to call the Publiq API from any Zap.
No code: use an HTTP request module to call the Publiq API from any automation.
URL: https://api.publiq.digital/v1/emails
Method: POST
Headers:
Authorization: Bearer YOUR_PUBLIQ_API_KEY
Content-Type: application/json
Data (JSON):
{
"from": "you@yourdomain.com",
"to": "{{trigger.email}}",
"templateKey": "welcome-email",
"variables": { "first_name": "{{trigger.name}}" }
}Best practices
- Always call Publiq from the server — the API key goes in the
Authorizationheader, never on the client. - On
429/5xx, retry with exponential backoff (respectRetry-After). - Prefer
templateKeyover inline HTML to keep content versioned. - Handle errors via the response
error.codefield — see Errors. - Send from a verified domain — see Domains.