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

# Create a contact phone number (v2)

`POST /v2/contact-phone-numbers/{contactId}`

Add a phone number to a contact, optionally with a label. **Requires `Idempotency-Key`.** Returns the created row: `{ data: { contact_phone_number: {...} } }`, status 201.

## Path parameters

- `contactId` string, uuid, required

## Request body

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

## Response `201`

Created

- object
  - `data` object, required
    - `phoneNumber` object, required
      - `id` string, uuid, required
      - `contact_id` string, uuid, required
      - `user_id` string
      - `phone_number` string, required
      - `label` string, nullable
      - `ranking` integer, required
      - `country_code` string, nullable
      - `phone_number_sanitized` string, nullable
      - `created_at` union, required
        - string, date-time
        - unknown
      - `updated_at` union, required
        - string, date-time
        - unknown

## 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/6f01cd52ac12/schema)
