Infomaniak Newsletter icon

Infomaniak Newsletter

Interact with Infomaniak Newsletter API

Credits → Credits Details

AI-generated

Summary

Retrieves credit details for a specified Infomaniak domain.

Inputs

  • authentication (required) — Authentication method to use – either OAuth2 or API Key (selected via node credentials).
  • domain (required) — Numeric identifier of the domain whose credit information should be fetched.
  • returnFullResponse — When true, returns the raw API response; otherwise returns processed credit data as n8n items. Defaults to false.

Output shape

If returnFullResponse is false: an array of n8n items, each representing the credit details for the domain (e.g., remaining credits, validity period). If returnFullResponse is true: the full HTTP response object returned by the Infomaniak API.

The actual HTTP request is a GET to the Infomaniak API endpoint for domain credits, using the selected authentication method.

Examples

Example 1: A workflow needs to display remaining newsletter credits for a client's domain.

Set authentication to OAuth2 (or API Key), provide the domain ID, leave returnFullResponse unchecked. The node outputs an items array that can be used in subsequent nodes (e.g., Set, IF).

Links

Discussion