---
title: "Create a contact address (v2)"
method: POST
path: "/v2/contact-legacy-addresses/{contactId}"
tags: ["contact-legacy-addresses"]
---

# Create a contact address (v2)

`POST /v2/contact-legacy-addresses/{contactId}`

Add a postal address to a contact. **Requires `Idempotency-Key`.** Returns the created row: `{ data: { contact_legacy_address: {...} } }`, status 201. Addresses are not ranked (no reorder).

## Path parameters

- `contactId` string, uuid, required

## Request body

- object
  - `formatted` string
  - `street` string
  - `city` string
  - `region` string
  - `country` string
  - `postal_code` string
  - `address_type` string

## Response `201`

Created

- object
  - `data` object, required
    - `address` object, required
      - `id` string, uuid, required
      - `contact_id` string, uuid, required
      - `user_id` string
      - `formatted` string, nullable
      - `street` string, nullable
      - `city` string, nullable
      - `region` string, nullable
      - `country` string, nullable
      - `postal_code` string, nullable
      - `address_type` 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)
