---
title: "Add User Property"
method: PUT
path: "/{databaseId}/users/properties/{propertyName}"
tags: ["User Properties"]
---

# Add User Property

`PUT /{databaseId}/users/properties/{propertyName}`

Adding a user property is somewhat equivalent to adding a column to the table of users. The users may be characterized by various properties of different types.

## Path parameters

- `databaseId` string, required
- `propertyName` string, required

## Query parameters

- `type` 'int' | 'double' | 'string' | 'boolean' | 'timestamp' | 'set', required

## Response `201`

Successful operation.

## Other responses

- `400` — Property name does not match ^[a-zA-Z0-9_\-:]+$, or it is a reserved keyword (''id'', ''userid''), or its length exceeds 63 characters. Type information is missing, or the given type is invalid.
- `409` — Property of the given name is already present in the database. In many cases, you may consider this code a success – it only tells you that nothing has been written to the database.

---

[API](https://skmtc.dev/recombee/apis/recombee-api.md) · [All operations](https://skmtc.dev/recombee/apis/recombee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recombee/recombee-api/revisions/a9c9c33eb2e8/schema)
