Skip to content

fix: map track_settings values between GET and POST formats#5

Merged
00al merged 1 commit intomainfrom
fix/smartlead-track-settings-values
Apr 14, 2026
Merged

fix: map track_settings values between GET and POST formats#5
00al merged 1 commit intomainfrom
fix/smartlead-track-settings-values

Conversation

@00al
Copy link
Copy Markdown
Contributor

@00al 00al commented Apr 6, 2026

Summary

  • Smartlead API returns DONT_EMAIL_OPEN / DONT_LINK_CLICK in GET responses but requires DONT_TRACK_EMAIL_OPEN / DONT_TRACK_LINK_CLICK in POST requests
  • update_campaign_settings now auto-maps these values so callers can pass either format
  • Added --min-gap to the schedule example in SKILL.md

Test plan

🤖 Generated with Claude Code

The Smartlead API returns DONT_EMAIL_OPEN / DONT_LINK_CLICK in GET
responses but requires DONT_TRACK_EMAIL_OPEN / DONT_TRACK_LINK_CLICK
in POST requests. update_campaign_settings now maps automatically.

Also added --min-gap flag to schedule example in SKILL.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@00al 00al merged commit 9678619 into main Apr 14, 2026
3 checks passed
@00al 00al deleted the fix/smartlead-track-settings-values branch April 14, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant