---
title: "Update a contact"
method: PUT
path: "/api/v1/contacts/{id}"
tags: ["contacts"]
---

# Update a contact

`PUT /api/v1/contacts/{id}`

## Request

- Base URL: `https://www.callagent.pro`
- URL: `https://www.callagent.pro/api/v1/contacts/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- object
  - `first_name` string, required
  - `last_name` string, nullable
  - `phone` string, nullable
  - `email` string, email, nullable
  - `company` string, nullable
  - `notes` string, nullable
  - `list_id` integer, nullable

## Response `200`

Saved. Returns the refreshed first page of contacts.

- object
  - `ok` boolean
  - `contacts` Contact[]
    - `id` integer, required
    - `name` string, required
    - `phone` string, required
    - `email` string, required
    - `company` string, required
    - `notes` string, required: Freeform instructions surfaced to an agent's contact-lookup tool, e.g. "if they call, tell them I'm sick"
    - `list` string, required: Comma-joined names of every ContactList this contact belongs to
    - `updated` string, required: Humanized, e.g. '3 hours ago'
    - `updated_ts` integer, required: Unix timestamp
    - `last_called` string, required: Humanized, or 'never'
    - `last_called_ts` integer, required: Unix timestamp

## Other responses

- `401`: Missing or invalid Bearer key
- `404`: No matching record on this account
- `429`: Too many requests — see the endpoint's rate limit tier (agent-api 120/min, agent-api-heavy 6/min, agent-api-secrets 10/min)

---

[API](https://skmtc.dev/callagent/apis/callagent-pro-agent-api.md) · [All operations](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/callagent/apis/callagent-pro-agent-api/revisions/38072cf8a24b?raw)
