Add member
documentedAdd a new member to an Emma audience.
POST /{account_id}/members/addAudiencesno 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://api.e2ma.net/{{$account_id}}/members/add" \
-X POST \
-u "{{MYEMMA_PUBLIC_KEY}}:{{MYEMMA_PRIVATE_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"email": "{{$email}}", "fields": {"first_name": "{{$first_name}}", "last_name": "{{$last_name}}"}, "group_ids": [{{$group_id1}}, {{$group_id2}}]}'