---
title: "Initiate or re-initiate authentication for a connector."
method: POST
path: "/falcon-ai/mcp-connectors/{connector_id}/authenticate/"
tags: ["falcon-ai"]
---

# Initiate or re-initiate authentication for a connector.

`POST /falcon-ai/mcp-connectors/{connector_id}/authenticate/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/falcon-ai/mcp-connectors/{connector_id}/authenticate/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

For OAuth connectors, returns the authorization URL to open in a browser.
For API key connectors, tests the connection and returns status.

## Request body

- FalconEmptyRequest

## Response `200`

OK

- MCPConnectorAuthenticateResponse
  - `status` boolean, required
  - `result` MCPConnectorDetail
    - `id` string, uuid
    - `name` string, required
    - `server_url` string, uri, required
    - `transport` 'sse' | 'streamable_http'
    - `auth_type` 'none' | 'api_key' | 'bearer' | 'oauth'
    - `auth_header_name` string
    - `is_active` boolean
    - `is_verified` boolean
    - `discovered_tools` object
    - `enabled_tool_names` object
    - `last_discovery_at` string, date-time, nullable
    - `last_error` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `auth_type` string
  - `authorization_url` string, uri
  - `message` string

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `502`: Bad Gateway
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
