Create account
documentedRegister a new customer account.
POST /molpro/account/createAccountsno 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://rest.click2mail.com/molpro/account/create" \
-X POST \
-H "Authorization: Basic {{CLICK2MAIL_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"username": "{{$username}}", "password": "{{$password}}", "email": "{{$email}}", "firstName": "{{$firstName}}", "lastName": "{{$lastName}}", "company": "{{$company}}", "phone": "{{$phone}}", "address": {"line1": "{{$addressLine1}}", "city": "{{$city}}", "state": "{{$state}}", "postalCode": "{{$postalCode}}", "country": "{{$country}}"}}'