---
title: "Create client address"
method: POST
path: "/api/storage/profile-system/profiles/{profileId}/addresses"
tags: ["Addresses"]
---

# Create client address

`POST /api/storage/profile-system/profiles/{profileId}/addresses`

Creates new address for a given client profile.

> The `id` field returned by this request is the `addressId` used to retrieve or update information of a specific address later.

Learn more about the [Profile System](https://developers.vtex.com/vtex-rest-api/docs/profile-system) and its other API endpoints.

>⚠️ The Profile System is only compatible with stores using the PII data architecture from [Data Protection Plus](https://developers.vtex.com/docs/guides/data-protection-plus), which is in closed beta phase, only available in select regions.
>
> This feature is part of [VTEX Shield](https://help.vtex.com/en/tutorial/vtex-shield--2CVk6H9eY2CBtHjtDI7BFh). If you are already a VTEX customer and want to adopt VTEX Shield for your business, please contact [Commercial Support](https://help.vtex.com/en/tracks/support-at-vtex--4AXsGdGHqExp9ZkiNq9eMy/3KQWGgkPOwbFTPfBxL7YwZ). Additional fees may apply. If you are not yet a customer but are interested in this solution, please complete our [contact form](https://vtex.com/us-en/contact/). 

## Permissions

Any user or [API key](https://developers.vtex.com/docs/guides/api-authentication-using-api-keys) must have at least one of the appropriate [License Manager resources](https://help.vtex.com/en/tutorial/license-manager-resources--3q6ztrC8YynQf6rdc6euk3) to be able to successfully run this request. Otherwise they will receive a status code `403` error. These are the applicable resources for this endpoint:

| **Product** | **Category** | **Resource** |
| --------------- | ----------------- | ----------------- |
| Profile System | Documents | **Get Item** |
| Profile System | Documents | **Save and Update Item** |
| Profile System | Documents | **Delete Item** |

There are no applicable [predefined roles](https://help.vtex.com/en/tutorial/predefined-roles--jGDurZKJHvHJS13LnO7Dy) for this resource list. You must [create a custom role](https://help.vtex.com/en/tutorial/roles--7HKK5Uau2H6wxE1rH5oRbc#creating-a-role) and add at least one of the resources above in order to use this endpoint.To learn more about machine authentication at VTEX, see [Authentication overview](https://developers.vtex.com/docs/guides/authentication).

>❗ To prevent integrations from having excessive permissions, consider the [best practices for managing API keys](https://help.vtex.com/en/tutorial/best-practices-api-keys--7b6nD1VMHa49aI5brlOvJm) when assigning License Manager roles to integrations.

## Path parameters

- `profileId` string, required

## Query parameters

- `alternativeKey` 'email' | 'document'

## Headers

- `Content-Type` string, required
- `Accept` string, required

## Request body

- CreateAddress — Address request body.
  - `postalCode` string, required — Address postal code.
  - `countryName` string, required — Name of the address country.
  - `countryCode` string — Two letter country code.
  - `administrativeAreaLevel1` string, required — Name of administrative area, such as the state or province.
  - `locality` string, required — Name of address locality, such as the city.
  - `localityAreaLevel1` string, required — Name of the address locality area, such as the neighborhood or district.
  - `route` string, required — Address route or street name.
  - `streetNumber` string, required — Address street number.
  - `contactId` string — Contact unique identifier.

## Response `201`

Created

- UnmaskedAddressResponse — Unmasked address information.
  - `id` string — ID of a client's address.
  - `document` Address — Address information.
    - `postalCode` string, required — Address postal code.
    - `countryName` string, required — Name of the address country.
    - `countryCode` string — Two letter country code.
    - `administrativeAreaLevel1` string, required — Name of administrative area, such as the state or province.
    - `locality` string, required — Name of address locality, such as the city.
    - `localityAreaLevel1` string, required — Name of the address locality area, such as the neighborhood or district.
    - `route` string, required — Address route or street name.
    - `streetNumber` string, required — Address street number.
    - `profileId` string, required — ID of the client's profile.
    - `contactId` string — Contact unique identifier.
  - `meta` AddressMeta — Address metadata.
    - `version` string, required — Unique identifier of the address version.
    - `author` string, required — Unique identifier of the user who created the address.
    - `creationDate` string, required — Date when the address was created in ISO 8601 format.
    - `lastUpdateDate` string, required — Date when the address was last updated in ISO 8601 format.

---

[API](https://skmtc.net/vtex/apis/profile-system-pii-data-architecture.md) · [All operations](https://skmtc.net/vtex/apis/profile-system-pii-data-architecture/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vtex/profile-system-pii-data-architecture/revisions/23729fa2a727/schema)
