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

# Set destination travel rule message ID

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

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/screening/trlink/transaction/{txId}/destination/travel_rule_message_id`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/screening/trlink/transaction/:txId/destination/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 specific destination in a multi-destination Fireblocks transaction. Matches destinations by amount and peer path.

## Path parameters

- `txId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- TRLinkSetDestinationTravelRuleMessageIdRequest: Request to set TRM ID for specific transaction destination
  - `amount` string, required: Destination amount for matching
  - `destination` TRLinkTransferPeerPath, required: Transfer peer path for destination matching
    - `type` string, nullable: Peer type
    - `id` string, nullable: Peer ID
    - `subType` string, nullable: Peer subtype
    - `address` string, nullable: Peer address
  - `travelRuleMessageId` string, nullable, required: Travel Rule Message ID to associate with destination (null to unset)

## Response `200`

Destination travel rule message ID set successfully

- TRLinkSetDestinationTravelRuleMessageIdResponse
  - `success` boolean, required: Whether the operation was successful
  - `updatedDestinations` number, required: Number of destinations updated
  - `failedDestinations` number, required: Number of destinations that failed to update
  - `errors` string[], nullable: List of errors (if any)

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