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

# Update a contact

`PATCH /contacts/{id}`

## Request

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

Update a specific contact's information. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Write Alert Contacts** under the Setup & Administration category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Path parameters

- `id` string, required

## Request body

- UpdateContactRequest: Information for adding a notification contact for alerts.
  - `email` string: Email address of the contact.
  - `firstName` string: First name of the contact.
  - `lastName` string: Last name of the contact.
  - `phone` string: Phone number of the contact.

## Response `200`

Updated contact object with given ID.

- ContactResponse: A single contact.
  - `data` Contact: Information about a notification contact for alerts.
    - `email` string, required: Email address of the contact.
    - `firstName` string, required: First name of the contact.
    - `id` string, required: ID of the contact.
    - `lastName` string, required: Last name of the contact.
    - `phone` string, required: Phone number of the contact.

## Other responses

- `default`: Error response

---

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