---
raw: true
search:
  tags:
    - Connectors
    - POST
seo:
  description: >-
    Re-authorizes a connection that already exists.… Reference for the POST
    /v1/connectors/connections/{connectionId}/reconnect endpoint in the
    Spacefast API.
sidebar:
  label: Reconnect an account
  badge: POST
title: Reconnect an account
type: openapi-operation
---
Re-authorizes a connection that already exists. Same three-arm answer as connecting — `connected`, `authorization_required`, or `input_required` — but the connection keeps its id, label, policies, and Space bindings, and the callback route finishes it. A disconnected connection cannot be reconnected.

`POST /v1/connectors/connections/{connectionId}/reconnect`

**Request body** (`application/json`, required)

- `credential` (object) — The replacement credential. Omit it and the server tells you what it needs — for OAuth that is usually nothing.

Request body example:

```json
{
  "credential": {
    "kind": "api_key",
    "value": "string"
  }
}
```

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "status": "connected",
    "connection": {
      "id": "string",
      "connector": "string",
      "owner": "team",
      "serving": false,
      "displayName": "string",
      "description": "string",
      "status": "pending_authorization",
      "identityLabel": "string",
      "credentialConfigured": true,
      "authMethod": "string",
      "scopes": [
        "string"
      ],
      "scopesKnown": true,
      "isDefault": true,
      "toolCount": -9007199254740991,
      "createdBy": "string",
      "lastCheckedAt": "2019-08-24T14:15:22Z",
      "revokedAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  }
}
```
