---
title: "Create a profile"
method: POST
path: "/profiles/{user_id}"
tags: ["User Profiles"]
---

# Create a profile

`POST /profiles/{user_id}`

Merges the supplied values into a user's profile, creating it if absent and leaving any key you omit untouched. Prefer this for everyday writes.

## Path parameters

- `user_id` string, required

## Headers

- `Idempotency-Key` string
- `x-idempotency-expiration` string

## Request body

- object
  - `profile` object, required

## Response `200`

- MergeProfileResponse
  - `status` 'SUCCESS', required

## Other responses

- `400`

## Changes

- **2026-08-03** `04f69fbf96a5` — 2 info
  - api tag `User Profiles` added
  - api tag `Profiles` removed
- **2026-07-29** `f76bed79a913` — 4 info
  - api tag `Profiles` added
  - api tag `User Profiles` removed
  - added the new optional `header` request parameter `Idempotency-Key`
  - added the new optional `header` request parameter `x-idempotency-expiration`
- **2025-10-15** `e67d02739533` — 2 info
  - api tag `User Profiles` added
  - api tag `Profiles` removed

[Change history](https://skmtc.dev/trycourier/apis/courier/changes/profiles/:user_id/post.md)

---

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