---
title: "Confirm the current OAuth agent connection"
method: POST
path: "/v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection"
---

# Confirm the current OAuth agent connection

`POST /v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection`

## Request

- Base URL: `https://api.bangermail.com`
- URL: `https://api.bangermail.com/v1/workspaces/{workspaceId}/onboarding/agent-state/confirm-connection`
- Auth: HTTP bearer

Requires the OAuth credential installed in the current agent client and automation:read scope.

## Path parameters

- `workspaceId` string, uuid, required

## Response `200`

Successful response.

- object
  - `data` object, required
    - `status` 'connected', required
    - `message` string, required
    - `workspace_id` string, uuid, required
    - `client_name` string, required
    - `confirmed_at` string, date-time, required

## Other responses

- `default`: Request failed.

---

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