Infomaniak Newsletter icon

Infomaniak Newsletter

Interact with Infomaniak Newsletter API

Templates → List All Templates

AI-generated

Summary

List all newsletter templates for a given Infomaniak domain.

Inputs

  • Domain (required) — Unique identifier of the domain (numeric ID).
  • Authentication (required) — Authentication method – OAuth2 (default) or API Key.
  • Return — If set to 'total', the operation returns the count of templates instead of the list.
  • Limit — Maximum number of items to return (used when Return All is false).
  • Skip — Zero‑based index of the first item to return.
  • Page — Page number for pagination.
  • Per Page — Number of items per page for pagination.
  • Return All — When true (default), ignores Limit and returns all matching templates.
  • Limit (when Return All is false) — Default 50, max 500 – number of items per page when Return All is disabled.
  • Return Full Response — When true, includes the raw API response in the output.

Output shape

array of template objects

If Return is set to 'total', output is a number representing the total count. If Return Full Response is true, output includes the full HTTP response alongside the data.

Examples

Example 1: Get all templates for domain 12345

Domain: 12345, Authentication: OAuth2, Return All: true

Links

Discussion