Subscribe through form
documentedSubscribe a contact via a published form (form submission simulation).
POST /api/1.0/forms/{formid}.{json|xml}Formsno 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.enormail.eu/api/1.0/forms/{{$formid}}.json" \
-X POST \
-u "{{ENORMAIL_API_KEY}}:" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "fields": {"gender": "{{$gender}}", "lastname": "{{$lastname}}", "company": "{{$company}}", "address": "{{$address}}", "city": "{{$city}}", "postal": "{{$postal}}", "country": "{{$country}}", "telephone": "{{$telephone}}", "mobile": "{{$mobile}}", "custom1": "{{$custom1}}", "custom2": "{{$custom2}}", "custom3": "{{$custom3}}"}}'