Actions52
- Emails Actions
- Domains Actions
- APIKeys Actions
- Templates Actions
- Audiences Actions
- Subscribers Actions
- Webhooks Actions
- Suppressions Actions
- Contacts Actions
- Events Actions
- EmailVerifications Actions
- EmailVerificationLists Actions
Templates → Publish a template
AI-generatedSummary
Publish a specific template by its unique identifier, sending a POST request to the /templates/{id}/publish endpoint.
Inputs
- id (required) — The unique identifier of the template to publish.
- returnAll — Whether to return all paginated results or just a single page of the response. Defaults to false.
- options — Optional parameters including custom JSON body fields (merged with defaults), custom HTTP headers, query-string filters, batching configurations (items per batch and delay between batches), debug flag for request details, pagination settings (mode, page size, cursor paths, max pages, etc.), and HTTP timeout in milliseconds.
Output shape
The API response to the publish request, typically including the status or details of the published template. Depending on the 'returnAll' and pagination settings, this may include all pages of results or just one page.
If 'returnAll' is true and pagination settings are configured, multiple pages of results will be fetched according to those settings. Enabling 'debug' adds detailed request data to the output for troubleshooting.