create_campaign
LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). (launch_campaign is its equivalent for the key flow.) Creates a new anonymous audio feedback campaign. Two modes: (a) INCENTIVIZED — participants earn USDC rewards; you must fund an escrow address returned in the response, then call verify_campaign_funding. Participants have 30 days after the campaign ends to claim; anything unclaimed then goes back to the wallet you signed in with. (b) NO_REWARD — survey only, no crypto rewards; you pay a flat Stripe activation fee (returned in activationRequired), then call verify_campaign_activation. The accessToken is single-use and is consumed on success. Privacy threshold: minPercent enforces the minimum response rate before results are unlocked (minimum 50%). Campaign expiry: 1–42 days (default 7).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Campaign title (shown to participants) | |
| questions | Yes | List of audio questions for participants to answer | |
| minPercent | No | Minimum response rate (%) required to unlock results. Defaults to 50. | |
| rewardMint | No | SPL token mint address for rewards. Defaults to USDC if omitted. | |
| rewardMode | Yes | INCENTIVIZED: crypto rewards per response. NO_REWARD: survey only, flat activation fee. | |
| accessToken | Yes | One-time access token from verify_payment | |
| description | Yes | Short description of the campaign purpose | |
| cohortEmails | Yes | Email addresses of participants (minimum 2 for privacy) | |
| expiresInDays | No | Campaign duration in days (1–42, default 7) | |
| incentiveCents | No | Reward per participant in cents (e.g. 500 = $5.00). Required for INCENTIVIZED. | |
| digitalGiftText | No | Optional digital gift description shown to NO_REWARD participants (e.g. a discount code) |