---
title: "Respond to a pending Web3 connection request."
method: PUT
path: "/connections/wc/{id}"
tags: ["Web3 connections"]
---

# Respond to a pending Web3 connection request.

`PUT /connections/wc/{id}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/connections/wc/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/connections/wc/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Submit a response to *approve* or *reject* an initiated Web3 connection.
* Note: This call is used to complete your `POST /v1/connections/wc/` request.

After this succeeds, your new Web3 connection is created and functioning.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string
- `X-End-User-Wallet-Id` string, uuid

## Request body

- RespondToConnectionRequest
  - `approve` boolean, required: Approval of the initiated Web3 connection.

## Response `200`

Connection submitted successfully

## Other responses

- `400`: Invalid data sent
- `404`: Connection not found
- `500`: Something went wrong

---

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