FZAP icon

FZAP

Interact with FZAP WhatsApp API

Actions176

Paid Traffic → Save Campaign

AI-generated

Summary

Creates a paid traffic campaign or updates an existing one, using a slug to identify its redirect URL and a destination WhatsApp number. Set the page domain that hosts the redirect script; it is added to the tracking allowlist automatically.

Inputs

  • Access Mode — Choose Instance (Use Credential Token) or Admin (Select Instance) to determine how the instance is selected.
  • Instance Name or ID (required) — Shown in Admin mode. Select or enter the instance to use.
  • Slug (required) — Unique slug used in the redirect URL.
  • Destination Phone (required) — WhatsApp number the redirect sends visitors to.
  • Page Domain (required) — Domain hosting the redirect script; it is added to the tracking allowlist.
  • Additional Fields — Optionally set whether the campaign is active; its name and default WhatsApp message; an existing campaign ID to update; Meta ad, ad set, and campaign IDs or names; placement; and UTM campaign, content, medium, source, and term values.

Output shape

A single API response record.

The source pack omits operation implementation bodies, so it does not establish the precise response fields or whether the API response is wrapped.

Examples

Example 1: Create a campaign

Provide a unique slug, destination phone, and page domain; optionally supply a name, default message, tracking metadata, and active status.

Example 2: Update an existing campaign

Provide the campaign ID in Additional Fields along with the required slug, destination phone, and page domain.

Links

Discussion