Sign in

Update contact

documented

Update information for a specific contact.

PUT /v2/contacts/{contact_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://api.moskitcrm.com/v2/contacts/{{$contact_id}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "apikey: {{MOSKITCRM_API_KEY}}" \
  -d '{"first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "email": "{{$email}}", "phone": "{{$phone}}", "organization_id": "{{$organization_id}}", "custom_fields": {"custom_field_1": "{{$custom_field_1}}", "custom_field_2": "{{$custom_field_2}}"}}'