Create or update contact
documentedCreate a new contact or update an existing one.
POST /api/1.1/json/users/Contactsno 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://{{$account_subdomain}}.happyfox.com/api/1.1/json/users/" \
-u "{{HAPPYFOX_API_KEY}}:{{HAPPYFOX_SECRET}}" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"name": "{{$name}}", "email": "{{$email}}", "phones": [{"type": "mo", "number": "{{$phone}}", "is_primary": true}], "c-cf-101": "{{$custom101}}", "c-cf-102": "{{$custom102}}"}'