---
title: "Edit a contact"
method: PATCH
path: "/crm/contacts/{id}"
tags: ["CRM"]
---

# Edit a contact

`PATCH /crm/contacts/{id}`

## Request

- Base URL: `https://developer.solofire.com/v1`
- URL: `https://developer.solofire.com/v1/crm/contacts/{id}`
- Auth: HTTP bearer

Requires the `crm.write` scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `first_name` string: Given name.
  - `last_name` string: Family name.
  - `email` string: Email address.
  - `phone` string: Work phone.
  - `mobile_phone` string: Mobile phone.
  - `company_name` string: Company the contact works for (free text; see account_id for a linked account).
  - `title` string: Job title.
  - `status` string: lead, prospect, customer or churned.
  - `notes` string: Free-form notes.
  - `account_id` string: Linked account, or null to unlink.
  - `owner_user_id` string: Owning member. Reps always own what they create.
  - `is_company_contact` boolean: Visible to the whole company rather than only the owner.
  - `external_id` string: Your own identifier for the contact.
  - `custom_fields` object: Arbitrary key/value metadata.

## Response `200`

Success

- object

## Other responses

- `401`: `unauthorized` No credential was presented. `invalid_token` The API key is unknown, revoked or malformed. `token_expired` The API key has passed its expiry.
- `403`: `insufficient_scope` The credential does not carry the required scope. `forbidden` The member this credential acts as lacks the permission. `feature_not_enabled` API access is not enabled for this company.
- `404`: `not_found` No such resource, or it is outside this credential’s scope.
- `405`: `method_not_allowed` The path exists but not for this method.
- `413`: `payload_too_large` The request body is too large.
- `422`: `validation_failed` A parameter or body field is invalid.
- `429`: `rate_limited` The credential is over its request budget.
- `500`: `internal_error` Something went wrong on our side.

---

[API](https://skmtc.dev/solofire/apis/solofire-api.md) · [All operations](https://skmtc.dev/solofire/apis/solofire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/solofire/apis/solofire-api/revisions/23e387532175?raw)
