Add Contact to Group
documentedAdd a contact to a contact group.
POST /v2.0/contactgroups/{id}/contactsContacts APIno 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.esendex.com/v2.0/contactgroups/{{$contactgroup_id}}/contacts" \
-X POST \
-H "Authorization: Basic {{ESENDEX_SECRET}}" \
-H "Content-Type: application/xml" \
-H "Accept: application/xml" \
-d @- <<'XML'
<?xml version="1.0" encoding="UTF-8"?>
<contacts xmlns="http://api.esendex.com/ns/">
<contactid>{{$contact_id}}</contactid>
</contacts>
XML