Sign in

Update contact

documented

Update attributes of an existing contact.

PUT /v1/contacts/{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.crmworkspace.com/v1/contacts/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "{{$first_name}}",
    "last_name": "{{$last_name}}",
    "email_addresses": [
      {"address": "{{$email}}", "kind": "Work", "principal": true}
    ],
    "phone_numbers": [
      {"address": "{{$phone}}", "kind": "Mobile", "principal": true}
    ],
    "addresses": [
      {
        "street_line_1": "{{$address_line1}}",
        "city": "{{$city}}",
        "state": "{{$state}}",
        "zip_code": "{{$zip_code}}",
        "country": "{{$country}}",
        "kind": "Work"
      }
    ],
    "custom_fields": [
      {"name": "{{$custom_field_name}}", "value": "{{$custom_field_value}}"}
    ]
  }'"
Update contact · Wealthbox · OpenIntegrations