# revealCounterpartyKeyLinkage

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

**POST** `/revealCounterpartyKeyLinkage`

Base URL: `http://localhost:3321`

Reveals counterparty key linkage

## Body

Content type: `application/json`

- `counterparty` (string)
- `verifier` (string)
- `privilegedReason` (string)
- `privileged` (boolean)

Example:

```json
{
  "counterparty": "string",
  "verifier": "string",
  "privilegedReason": "string",
  "privileged": false
}
```

## Responses

### 200

The counterparty key linkage

- `prover` (string)
- `verifier` (string)
- `counterparty` (string)
- `revelationTime` (string)
- `encryptedLinkage` (integer[])
- `encryptedLinkageProof` (integer[])

Example:

```json
{
  "prover": "string",
  "verifier": "string",
  "counterparty": "string",
  "revelationTime": "string",
  "encryptedLinkage": [
    0
  ],
  "encryptedLinkageProof": [
    0
  ]
}
```

### 400

Invalid input

### 500

Internal server error