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

## Request

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

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

## Changes

- **2026-09-18** `7e2de6306b09`: 1 info
  - added the optional property `data/address/workspace_id` to the response with the `201` status
- **2026-08-27** `a2f71a243839`: 1 info
  - api operation id `createContactAddressV2` was added

[Operation history](https://skmtc.dev/getdex/apis/dex-public-api/changes/v2/contact-legacy-addresses/:contactId/post.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)
