---
title: "Set an AML/KYT ID for a vault account"
method: POST
path: "/vault/accounts/{vaultAccountId}/set_customer_ref_id"
tags: ["Vaults"]
---

# Set an AML/KYT ID for a vault account

`POST /vault/accounts/{vaultAccountId}/set_customer_ref_id`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/set_customer_ref_id`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/vault/accounts/:vaultAccountId/set_customer_ref_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Assigns an AML/KYT customer reference ID for the vault account. Learn more about Fireblocks AML management in the following [guide](https://developers.fireblocks.com/docs/define-aml-policies). Endpoint Permission: Admin, Non-Signing Admin.

## Path parameters

- `vaultAccountId` string, numeric, required

## Headers

- `Idempotency-Key` string

## Request body

- SetCustomerRefIdRequest
  - `customerRefId` string: Customer reference ID

## Response `201`

OK

- VaultActionStatus
  - `success` boolean

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
