---
title: "Update a contact"
method: PATCH
path: "/{org_slug}/contacts/{id}"
tags: ["Contacts"]
---

# Update a contact

`PATCH /{org_slug}/contacts/{id}`

## Request

- Base URL: `https://api.obelinf.com`
- URL: `https://api.obelinf.com/{org_slug}/contacts/{id}`
- Auth: HTTP bearer

Update a contact

## Path parameters

- `org_slug` string, required
- `id` string, required

## Request body

- object
  - `address` string, nullable
  - `description` string, nullable
  - `email` string, nullable
  - `group_id` string
  - `link` string, nullable
  - `name` string
  - `phone` string, nullable
  - `title` string, nullable

## Response `200`

Updated

- object
  - `contact` object, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `updated_at` string, required
    - `address` string, nullable
    - `description` string, nullable
    - `email` string, nullable
    - `group_id` string, nullable
    - `group_name` string, nullable
    - `link` string, nullable
    - `phone` string, nullable
    - `title` string, nullable
  - `tags` object[], required
    - `id` string, required
    - `tag_id` string, required
    - `tag_name` string, required
    - `tag_color` string, nullable

## Other responses

- `400`: Bad request
- `404`: Not found

---

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