---
title: "Set transaction travel rule message ID"
method: POST
path: "/screening/trlink/transaction/{txId}/travel_rule_message_id"
tags: ["TRLink"]
---

# Set transaction travel rule message ID

`POST /screening/trlink/transaction/{txId}/travel_rule_message_id`

## Request

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

Associates a Travel Rule Message ID with a Fireblocks transaction. This links the TRM compliance data to the blockchain transaction.

## Path parameters

- `txId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- TRLinkSetTransactionTravelRuleMessageIdRequest
  - `travelRuleMessageId` string, nullable, required: Travel Rule Message ID to associate with transaction (null to unset)

## Response `200`

Travel rule message ID set successfully

- TRLinkSetTransactionTravelRuleMessageIdResponse
  - `success` boolean, required: Whether the operation was successful

## 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)
