---
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}`

## Request

- Base URL: `https://api.prod.getdex.com`
- URL: `https://api.prod.getdex.com/v2/contact-phone-numbers/{contactId}/{phoneNumberId}`
- Auth: HTTP bearer

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 conflicts with the current state of the resource.
- `429`: Rate limit exceeded.
- `500`: Unexpected server error.

## Changes

- **2026-08-27** `a2f71a243839`: 1 info
  - api operation id `updateContactPhoneNumberV2` was added

[Operation history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v2/contact-phone-numbers/:contactId/:phoneNumberId/patch.md)

---

[API](https://skmtc.dev/getdex/apis/dex-public-api.md) · [All operations](https://skmtc.dev/getdex/apis/dex-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getdex/apis/dex-public-api/revisions/657247ddcf7c?raw)
