---
title: "Set Custom Attributes for a User"
method: POST
path: "/api/v1/attributes/user/{UserID}"
---

# Set Custom Attributes for a User

`POST /api/v1/attributes/user/{UserID}`

## Request

- Base URL: `https://app.workramp.com`
- URL: `https://app.workramp.com/api/v1/attributes/user/{UserID}`
- Auth: API key in header `Authorization`

Adds or updates custom attributes for a user

## Path parameters

- `UserID` integer, required

## Request body

- object
  - `attributes` string, json: Key `attributes` is required and is a dictionary of your attribute 'api names' → value

## Response `200`

200

- boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/workramp/apis/json-api.md) - [All operations](https://skmtc.dev/workramp/apis/json-api/llms.txt) - [OpenAPI document](https://skmtc.dev/workramp/apis/json-api/revisions/2cb77bf12793?raw)
