---
title: "Update a contact phone number (v2)"
method: PATCH
path: "/v2/contact-phone-numbers/{contactId}/{phoneNumberId}"
tags: ["contact-phone-numbers"]
---

# Update a contact phone number (v2)

`PATCH /v2/contact-phone-numbers/{contactId}/{phoneNumberId}`

Partially update one phone number on a contact (value and/or label). **Requires `Idempotency-Key`.** Returns `{ data: { affected } }`.

## Path parameters

- `contactId` string, uuid, required
- `phoneNumberId` string, uuid, required

## Request body

- object
  - `phone_number` string
  - `label` string
  - `ranking` integer
  - `country_code` string
  - `phone_number_sanitized` string

## Response `200`

Successful response

- object
  - `data` object, required
    - `affected` integer, required
    - `ids` string[]
    - `failed` object[]
      - `id` string, required
      - `error` object, required
        - `code` string, required
        - `message` string, required

## Other responses

- `400` — Request body failed validation.
- `401` — Missing or invalid API key.
- `403` — Valid key, insufficient permission.
- `404` — Resource does not exist.
- `409` — Request body failed validation.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.net/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdex/dex-public-api/revisions/af2dcc7aff5c/schema)
