> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Contact

> Update an existing contact's information.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="contact_id" type="string" required>
  The unique identifier of the contact to update.
</ParamField>

### Body Parameters

<ParamField body="name" type="string">
  Updated name for the contact.
</ParamField>

<ParamField body="email" type="string">
  Email address to add or update for the contact.
</ParamField>

<ParamField body="external_id" type="string">
  External ID to add or update for the contact.
</ParamField>

<ParamField body="metadata" type="object">
  Custom metadata to merge with existing metadata. New keys are added, existing keys are updated.
</ParamField>

### Response

<ResponseField name="data" type="object">
  The updated contact object.
</ResponseField>

<ResponseField name="data.id" type="string">
  Unique identifier for the contact.
</ResponseField>

<ResponseField name="data.org_id" type="string">
  Organization ID the contact belongs to.
</ResponseField>

<ResponseField name="data.name" type="string">
  Contact's name.
</ResponseField>

<ResponseField name="data.metadata" type="object">
  Custom metadata associated with the contact.
</ResponseField>

<ResponseField name="data.created_at" type="string">
  ISO timestamp when the contact was created.
</ResponseField>

<ResponseField name="data.updated_at" type="string">
  ISO timestamp when the contact was last updated.
</ResponseField>

<ResponseField name="errors" type="null">
  Error array (null on success).
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": {
      "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
      "org_id": "11111111-2222-3333-4444-555555555555",
      "name": "John Smith",
      "metadata": {
        "source": "web_signup",
        "preferences": {
          "language": "en"
        },
        "verified": true
      },
      "created_at": "2025-07-20T10:30:00.000Z",
      "updated_at": "2025-07-22T16:00:00.000Z"
    },
    "errors": null
  }
  ```

  ```json Not Found theme={null}
  {
    "data": null,
    "errors": [
      {
        "error": "NOT_FOUND",
        "message": "Contact not found"
      }
    ]
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
