Actions70
- API Key Actions
- Campaigns Actions
- Credits Actions
- Domains Actions
- Fields Actions
- Groups Actions
- Operations Actions
- Segments Actions
- Subscribers Actions
- Templates Actions
- Webforms Actions
Campaigns → Test Campaign
AI-generatedSummary
Execute a test campaign send using the specified domain, template UUID, and email data.
Inputs
- authentication (required) — Authentication method for the Infomaniak API call. Defaults to OAuth2; API Key is also available.
- path_domain (required) — Unique identifier of the Domain. A number value identifying the target domain.
- path_template_uuid (required) — Unique identifier of the template. A string value identifying the campaign template to test.
- body_emails (required) — Email data for the test campaign. A JSON object typically containing recipient test data.
- returnFullResponse — If true, returns the full API response object; otherwise returns a summarized result. Defaults to false.
Output shape
The API response from the test campaign request. Controlled by the returnFullResponse flag.
Consumes the specified domain, template, and email data; performs a test send operation via the Infomaniak API. No additional side effects beyond the API call.
Examples
Example 1: Basic test campaign with OAuth2
authentication=oauth2, path_domain=123, path_template_uuid='tpl_abc', body_emails={{'test@example.com': 'Test'}}, returnFullResponse=false