For the complete documentation index, see llms.txt. This page is also available as Markdown.

Associates the User with Token

PUT /tokens/{tokenId}/associate

Associates the authenticated user with the specified Hedera token.

Authentication: Bearer token required (Authorization: Bearer <token>)

Permission: Permissions.TOKENS_TOKEN_EXECUTE


Request

Path Parameters

Parameter
Type
Required
Description

tokenId

string

Yes

The Hedera token ID (e.g. 0.0.5000001)


Response

Success Response

Status: 200 OK

{
  "id": "63e3e5e8a01b3c001234abcd",
  "tokenId": "0.0.5000001",
  "associated": true,
  "balance": "0",
  "frozen": false,
  "kyc": false
}

Error Responses

Status
Description

401 Unauthorized

Missing or invalid token

403 Forbidden

Insufficient permissions

500 Internal Server Error

Unexpected server failure

Last updated