Enroll contact in campaign by email
documentedEnrolls a contact into a campaign using their email address.
POST /dev/api/campaigns/enroll/emailCampaignsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}.agilecrm.com/dev/api/campaigns/enroll/email" -X POST -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d 'email={{$email}}&workflow-id={{$workflow_id}}' -u "{{$AGILECRM_EMAIL}}:{{$AGILECRM_API_KEY}}"