Sign in

Update contact

documented

Update an existing contact's details in a list.

PUT /api/1.0/contacts/{listid}.{json|xml}?email={email}Contactsno implementation yet0 runs
No 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.enormail.eu/api/1.0/contacts/{{$listid}}.{{$format}}?email={{$email}}" \
  -X PUT \
  -u "{{ENORMAIL_API_KEY}}:" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"name": "{{$name}}", "email": "{{$email}}", "activate_autoresponder": {{$activate_autoresponder}}, "tags": ["{{$tag1}}", "{{$tag2}}"], "fields": [ {"gender":"{{$gender}}"}, {"lastname":"{{$lastname}}"}, {"company":"{{$company}}"}, {"address":"{{$address}}"}, {"postal":"{{$postal}}"}, {"city":"{{$city}}"}, {"country":"{{$country}}"}, {"telephone":"{{$telephone}}"}, {"mobile":"{{$mobile}}"}, {"birthday":"{{$birthday}}"}, {"custom1":"{{$custom1}}"}, {"custom2":"{{$custom2}}"}, {"custom3":"{{$custom3}}"} ], "new_email": "{{$new_email}}", "move_to_listid": "{{$move_to_listid}}"}'