---
title: "Assign wallet entity"
method: POST
path: "/v1/wallets/{wallet_id}/entity"
tags: ["Wallets"]
---

# Assign wallet entity

`POST /v1/wallets/{wallet_id}/entity`

## Request

- Base URL: `https://api.privy.io`
- URL: `https://api.privy.io/v1/wallets/{wallet_id}/entity`
- Auth: HTTP basic

Assign a user or organization to a wallet.

## Path parameters

- `wallet_id` string, required: ID of the wallet.

## Headers

- `privy-app-id` string, required: ID of your Privy app.

## Request body

- WalletEntityAssignmentRequestBody: Request body for assigning an entity to a wallet.
  - `id` string, required: A Privy entity ID.
  - `type` 'user' | 'organization', required: The type of entity a wallet is attributed to.

## Response `200`

The wallet entity assignment.

- WalletEntityAssignmentResponse: The entity assignment for a wallet.
  - `id` string, required: Unique wallet entity assignment identifier.
  - `wallet_id` string, required: ID of the assigned wallet.
  - `entity` WalletEntity, required: The entity a wallet is attributed to.
    - `id` string, required: A Privy entity ID.
    - `type` 'user' | 'organization', required: The type of entity a wallet is attributed to.
  - `created_at` number, required: Unix timestamp when the assignment was created.
  - `updated_at` number, required: Unix timestamp when the assignment was last updated.

## Changes

- **2026-10-16** `4facbfa7f9d4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/privy-io/apis/privy-api/changes/v1/wallets/:wallet_id/entity/post.md)

---

[API](https://skmtc.dev/privy-io/apis/privy-api.md) - [All operations](https://skmtc.dev/privy-io/apis/privy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/privy-io/apis/privy-api/revisions/6a80d4be53a8?raw)
