---
title: "Confirm Hyperliquid agent approval"
method: POST
path: "/v1/brokers/{id}/confirm-approval"
tags: ["Brokers"]
---

# Confirm Hyperliquid agent approval

`POST /v1/brokers/{id}/confirm-approval`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/brokers/{id}/confirm-approval`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Step 2 of the Hyperliquid connect: after the user broadcasts the approveAgent tx, flips the connection's `approval_confirmed` flag so adapter ops work. Optional `approval_tx_hash` for audit. Requires `write` scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `approval_tx_hash` string

## Response `200`

Approval confirmed

- object
  - `success` boolean
  - `data` object
    - `connection_id` string
    - `approval_confirmed` boolean
    - `message` string

## Other responses

- `400`: Validation failed
- `404`: Connection not found

---

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