Add contact to list
documentedCreate a new contact within the specified list (body may include fields like email, first_name, last_name, etc.).
POST /lists/{list_id}/contacts.jsonContactsno 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://campayn.com/api/v1/lists/{{$list_id}}/contacts.json" \
-X POST \
-H "Authorization: TRUEREST apikey={{CAMPAYN_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"email": "{{$email}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "address": "{{$address}}", "city": "{{$city}}", "state": "{{$state}}", "zip": "{{$zip}}", "country": "{{$country}}", "phone": "{{$phone}}"}'