---
title: "Create a relationship with the travel rule provider"
method: POST
path: "/v1/domains/{domainId}/compliance/travel-rule/providers/{provider}/relationships"
tags: ["Compliance"]
---

# Create a relationship with the travel rule provider

`POST /v1/domains/{domainId}/compliance/travel-rule/providers/{provider}/relationships`

## Request

- Base URL: `https://docs.ripple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.ripple.com/v1/domains/{domainId}/compliance/travel-rule/providers/{provider}/relationships`
- Auth: HTTP bearer

Pass-through proxy API to create a relationship with the travel rule provider (e.g., Notabene)

## Path parameters

- `domainId` string, uuid, required
- `provider` 'NOTABENE', required

## Request body

- ComplianceCreateRelationshipRequest: Request to create a relationship with a travel rule provider
  - `from` string, did: The DID of the source entity. Defaults to the entityDID from the domain credentials.
  - `to` string, did, required: The DID of the target entity.

## Response `201`

Relationship created successfully

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Domain not found
- `500`: Internal Server Error

---

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