# verifyHmac

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

**POST** `/verifyHmac`

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

Verifies HMAC

## Body

Content type: `application/json`

- `seekPermission` (boolean)
- `data` (integer[])
- `hmac` (integer[])
- `protocolID` (any[])
- `keyID` (string)
- `privilegedReason` (string)
- `counterparty` (string)
- `privileged` (boolean)

Example:

```json
{
  "seekPermission": true,
  "data": [
    0
  ],
  "hmac": [
    0
  ],
  "protocolID": [
    null
  ],
  "keyID": "string",
  "privilegedReason": "string",
  "counterparty": "string",
  "privileged": false
}
```

## Responses

### 200

The verification result

- `valid` (boolean)

Example:

```json
{
  "valid": true
}
```

### 400

Invalid input

### 500

Internal server error