---
updatedAt: 2026-09-02T17:35:26.000Z
agentTools:
  projectIndex: https://docs.go.v7labs.com/llms.txt
---

# Confirm a Pipedream connection reconnect

Verifies the returned account ID matches the existing connection and refreshes metadata.
A native OAuth reconnect does not use this endpoint: the OAuth callback completes it.


# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "Common.APIErrorDetails": {
        "description": "Additional structured error context. Shape varies by error code.\n\n- For conflict errors: contains a `conflicts` array with conflicting resources\n- For other errors: may contain arbitrary error-specific context",
        "nullable": true,
        "oneOf": [
          {
            "$ref": "#/components/schemas/Common.ConflictErrorDetails"
          },
          {
            "additionalProperties": true,
            "description": "Generic error details for non-conflict errors",
            "type": "object",
            "x-struct": null,
            "x-validate": null
          }
        ],
        "title": "Common.APIErrorDetails",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIErrorDetails",
        "x-validate": null
      },
      "Integrations.StartedConnectionResponse": {
        "additionalProperties": false,
        "description": "A started connection.",
        "properties": {
          "disconnect_reason": {
            "$ref": "#/components/schemas/Integrations.ConnectionDisconnectReason"
          },
          "id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "integration_id": {
            "$ref": "#/components/schemas/Integrations.IntegrationId"
          },
          "items_synced": {
            "$ref": "#/components/schemas/Common.NullableInteger"
          },
          "last_synced_at": {
            "$ref": "#/components/schemas/Common.NullableDateTime"
          },
          "local_metadata": {
            "$ref": "#/components/schemas/Integrations.ConnectionLocalMetadata"
          },
          "provider": {
            "$ref": "#/components/schemas/Integrations.ProviderResponse"
          },
          "public": {
            "$ref": "#/components/schemas/Integrations.ConnectionPublic"
          },
          "status": {
            "$ref": "#/components/schemas/Integrations.ConnectionStatus"
          },
          "user_id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "workspace_id": {
            "$ref": "#/components/schemas/Common.UUID"
          }
        },
        "required": [
          "id",
          "status",
          "user_id",
          "integration_id",
          "workspace_id",
          "items_synced",
          "last_synced_at",
          "provider",
          "public",
          "local_metadata",
          "disconnect_reason"
        ],
        "title": "Integrations.StartedConnectionResponse",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.StartedConnectionResponse",
        "x-validate": null
      },
      "Common.ConflictErrorDetails": {
        "additionalProperties": false,
        "description": "Details for conflict errors",
        "properties": {
          "conflicts": {
            "description": "List of conflicting resources",
            "items": {
              "additionalProperties": true,
              "type": "object",
              "x-struct": null,
              "x-validate": null
            },
            "type": "array",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "conflicts"
        ],
        "title": "Common.ConflictErrorDetails",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.ConflictErrorDetails",
        "x-validate": null
      },
      "Integrations.NotStartedConnectionResponse": {
        "additionalProperties": false,
        "description": "A not started connection.",
        "properties": {
          "disconnect_reason": {
            "$ref": "#/components/schemas/Integrations.ConnectionDisconnectReason"
          },
          "id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "integration_id": {
            "$ref": "#/components/schemas/Integrations.IntegrationId"
          },
          "local_metadata": {
            "$ref": "#/components/schemas/Integrations.ConnectionLocalMetadata"
          },
          "provider": {
            "$ref": "#/components/schemas/Integrations.ProviderResponse"
          },
          "public": {
            "$ref": "#/components/schemas/Integrations.ConnectionPublic"
          },
          "status": {
            "$ref": "#/components/schemas/Integrations.ConnectionStatus"
          },
          "user_id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "workspace_id": {
            "$ref": "#/components/schemas/Common.UUID"
          }
        },
        "required": [
          "id",
          "status",
          "user_id",
          "integration_id",
          "workspace_id",
          "provider",
          "public",
          "local_metadata",
          "disconnect_reason"
        ],
        "title": "Integrations.NotStartedConnectionResponse",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.NotStartedConnectionResponse",
        "x-validate": null
      },
      "Common.NullableInteger": {
        "example": 123,
        "nullable": true,
        "title": "Common.NullableInteger",
        "type": "integer",
        "x-struct": null,
        "x-validate": null
      },
      "Integrations.ConfirmReconnectRequest": {
        "additionalProperties": false,
        "description": "Confirm a Pipedream connection reconnect.",
        "properties": {
          "external_connection_id": {
            "description": "Pipedream account ID returned by connectAccount onSuccess",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "provider": {
            "enum": [
              "pipedream"
            ],
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "external_connection_id",
          "provider"
        ],
        "title": "Integrations.ConfirmReconnectRequest",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConfirmReconnectRequest",
        "x-validate": null
      },
      "Common.UUID": {
        "example": "e23ff3f3-8f77-4e78-9e81-fdb25abfb781",
        "format": "uuid",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "title": "Common.UUID",
        "type": "string",
        "x-struct": null,
        "x-validate": null
      },
      "Common.NullableDateTime": {
        "description": "DateTime in RFC3339 format",
        "example": "2020-01-20T14:00:00Z",
        "format": "date-time",
        "nullable": true,
        "title": "Common.NullableDateTime",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.NullableDateTime",
        "x-validate": null
      },
      "Integrations.ConnectionDisconnectReason": {
        "description": "Why the provider disconnected the connection. Null for a connected one.\nA disconnected connection serves no request until the user reconnects it.\n",
        "enum": [
          "token_revoked"
        ],
        "nullable": true,
        "title": "Integrations.ConnectionDisconnectReason",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConnectionDisconnectReason",
        "x-validate": null
      },
      "Integrations.ConnectionLocalMetadata": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Integrations.PipedreamLocalMetadata"
          },
          {
            "$ref": "#/components/schemas/Integrations.SlackLocalMetadata"
          },
          {
            "$ref": "#/components/schemas/Integrations.NativeLocalMetadata"
          }
        ],
        "title": "Integrations.ConnectionLocalMetadata",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConnectionLocalMetadata",
        "x-validate": null
      },
      "Integrations.ProviderResponse": {
        "description": "Integration provider",
        "enum": [
          "pipedream",
          "slack",
          "native"
        ],
        "title": "Integrations.ProviderResponse",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ProviderResponse",
        "x-validate": null
      },
      "Integrations.SlackLocalMetadata": {
        "additionalProperties": false,
        "description": "Local metadata stored for Slack connections",
        "properties": {},
        "title": "Integrations.SlackLocalMetadata",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.SlackLocalMetadata",
        "x-validate": null
      },
      "Integrations.NativeLocalMetadata": {
        "additionalProperties": false,
        "description": "Local metadata stored for Native connections",
        "properties": {},
        "title": "Integrations.NativeLocalMetadata",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.NativeLocalMetadata",
        "x-validate": null
      },
      "Integrations.ConnectionStatus": {
        "description": "A status of connection.",
        "enum": [
          "not_started",
          "started",
          "workspace_gone"
        ],
        "title": "Integrations.ConnectionStatus",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConnectionStatus",
        "x-validate": null
      },
      "Common.APIError": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "example": "bad_request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "details": {
            "$ref": "#/components/schemas/Common.APIErrorDetails"
          },
          "message": {
            "example": "Bad Request",
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "Common.APIError",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Common.APIError",
        "x-validate": null
      },
      "Integrations.PipedreamLocalMetadata": {
        "additionalProperties": false,
        "description": "Local metadata stored for Pipedream connections",
        "properties": {
          "account_name": {
            "description": "Name of the Pipedream account",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          },
          "external_user_id": {
            "description": "External user ID in Pipedream",
            "nullable": true,
            "type": "string",
            "x-struct": null,
            "x-validate": null
          }
        },
        "title": "Integrations.PipedreamLocalMetadata",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.PipedreamLocalMetadata",
        "x-validate": null
      },
      "Integrations.ConnectionPublic": {
        "description": "Whether the connection is public within the workspace",
        "title": "Integrations.ConnectionPublic",
        "type": "boolean",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConnectionPublic",
        "x-validate": null
      },
      "Integrations.IntegrationId": {
        "description": "The type of the integration that Go supports.",
        "enum": [
          "affinity",
          "airtable",
          "asana",
          "attio",
          "box",
          "crunchbase",
          "discord",
          "dropbox",
          "github",
          "gmail",
          "gong",
          "google_ads",
          "google_analytics",
          "google_calendar",
          "google_docs",
          "google_drive",
          "google_sheets",
          "google_slides",
          "hubspot",
          "intercom",
          "jira",
          "linear",
          "linkedin",
          "mailchimp",
          "microsoft_excel",
          "microsoft_onedrive",
          "microsoft_outlook",
          "microsoft_outlook_calendar",
          "microsoft_teams",
          "microsoft_word",
          "monday",
          "notion",
          "pitchbook",
          "quickbooks",
          "salesforce",
          "sharepoint_online",
          "slack",
          "slack_bot",
          "zendesk"
        ],
        "title": "Integrations.IntegrationId",
        "type": "string",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.IntegrationId",
        "x-validate": null
      },
      "Integrations.WorkspaceGoneConnectionResponse": {
        "additionalProperties": false,
        "description": "An inactive connection due to its workspace being deleted.",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/Common.UUID"
          },
          "integration_id": {
            "$ref": "#/components/schemas/Integrations.IntegrationId"
          },
          "items_synced": {
            "$ref": "#/components/schemas/Common.NullableInteger"
          },
          "last_synced_at": {
            "$ref": "#/components/schemas/Common.NullableDateTime"
          },
          "local_metadata": {
            "$ref": "#/components/schemas/Integrations.ConnectionLocalMetadata"
          },
          "provider": {
            "$ref": "#/components/schemas/Integrations.ProviderResponse"
          },
          "public": {
            "$ref": "#/components/schemas/Integrations.ConnectionPublic"
          },
          "status": {
            "$ref": "#/components/schemas/Integrations.ConnectionStatus"
          },
          "user_id": {
            "$ref": "#/components/schemas/Common.UUID"
          }
        },
        "required": [
          "id",
          "status",
          "user_id",
          "integration_id",
          "items_synced",
          "last_synced_at",
          "provider",
          "public",
          "local_metadata"
        ],
        "title": "Integrations.WorkspaceGoneConnectionResponse",
        "type": "object",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.WorkspaceGoneConnectionResponse",
        "x-validate": null
      },
      "Integrations.ConnectionResponse": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/Integrations.NotStartedConnectionResponse"
          },
          {
            "$ref": "#/components/schemas/Integrations.StartedConnectionResponse"
          },
          {
            "$ref": "#/components/schemas/Integrations.WorkspaceGoneConnectionResponse"
          }
        ],
        "title": "Integrations.ConnectionResponse",
        "x-struct": "Elixir.AgiDbWeb.Schemas.Integrations.ConnectionResponse",
        "x-validate": null
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      },
      "BearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "V7 Go API",
    "version": "0.1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/workspaces/{workspace_id}/integrations/{integration_id}/connections/{connection_id}/reconnect/confirm": {
      "post": {
        "callbacks": {},
        "description": "Verifies the returned account ID matches the existing connection and refreshes metadata.\nA native OAuth reconnect does not use this endpoint: the OAuth callback completes it.\n",
        "operationId": "integration-connection-confirm-reconnect",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "workspace_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          },
          {
            "description": "The type of the integration that Go supports.",
            "in": "path",
            "name": "integration_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Integrations.IntegrationId"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Common.UUID"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Integrations.ConfirmReconnectRequest"
              }
            }
          },
          "description": "Integrations.ConfirmReconnectRequest",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Integrations.ConnectionResponse"
                }
              }
            },
            "description": "Integrations.ConnectionResponse"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Common.APIError"
                }
              }
            },
            "description": "Common.APIError"
          }
        },
        "summary": "Confirm a Pipedream connection reconnect",
        "tags": [
          "IntegrationConnections"
        ]
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    },
    {
      "ApiKeyAuth": []
    }
  ],
  "servers": [
    {
      "description": "EU",
      "url": "https://go.v7labs.com",
      "variables": {}
    },
    {
      "description": "US",
      "url": "https://go.us.v7labs.com",
      "variables": {}
    },
    {
      "description": "UAE",
      "url": "https://go.uae.v7labs.com",
      "variables": {}
    }
  ]
}
```