Helps developers configure API-triggered campaigns in the Clix console and
View on GitHubclix-so/skills
auditing-deep-link-contracts
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/clix-so/skills/blob/main/skills/api-triggered-campaigns/SKILL.md -a claude-code --skill clix-api-triggered-campaignsInstallation paths:
.claude/skills/clix-api-triggered-campaigns/# API-Triggered Campaigns (Backend → Clix)
Use this skill to set up **API-triggered campaigns** in the Clix console and
trigger them from your backend with dynamic data (`trigger.*`) for:
- Transactional notifications (orders, password reset, receipts)
- Workflow messages (assignments, approvals)
- System alerts (moderation, support tickets)
- Programmatic sends where marketers/ops should control content + targeting
## What the official docs guarantee (high-signal)
- API-triggered campaigns are configured in the console, then triggered via:
`POST /api/v1/campaigns/{campaign_id}:trigger`
- Authentication uses **secret** headers:
- `X-Clix-Project-ID`
- `X-Clix-API-Key`
- Request `properties` become **`trigger.*`** for:
- **Dynamic audience filtering** (console audience rules)
- **Personalization** in templates (title/body/deep links)
- `audience.broadcast=true` sends to all users eligible under the campaign’s
segment definition; `audience.targets` narrows to specific users/devices
(still filtered by the segment definition).
- Dynamic audience filters are intentionally constrained for performance: **max
3 attributes** in the audience definition.
## MCP-first (source of truth)
If Clix MCP tools are available, treat them as the **source of truth**:
- Use `clix-mcp-server:search_docs` to confirm the latest API contract + limits:
- query examples:
- `"API-triggered campaign trigger endpoint"`
- `"campaigns/{campaign_id}:trigger audience targets broadcast"`
- `"trigger.* dynamic audience filters limitations"`
If MCP tools are not available, use the bundled references:
- API contract → `references/api-contract.md`
- Console setup + dynamic filters → `references/console-setup.md`
- Backend patterns (auth, retries, timeouts) → `references/backend-patterns.md`
- Security/key handling → `references/security-and-keys.md`
- Personalization + dynamic filters →
`references/personalization-and-dynamic-filters.md`
- Debugging checklist → `refeIssues Found: