Sign in

Update contact primary phone

documented

Update primary phone for a contact.

POST /api/1.1/json/user/{id}/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://{{$account_domain}}.happyfox.com/api/1.1/json/users/" \
  -u "{{HAPPYFOX_API_KEY}}:{{HAPPYFOX_SECRET}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "email": "{{$email}}", "phones": [{"type": "{{$phone_type}}", "number": "{{$phone}}", "is_primary": true}] , "c-cf-{{$cf1_id}}": "{{$cf1_value}}" }'