---
title: "Deprecated: use POST /plugins/app:{app}/add. Start connecting an app [write]"
method: POST
path: "/connectors/connections"
tags: ["connectors"]
deprecated: true
---

# Deprecated: use POST /plugins/app:{app}/add. Start connecting an app \[write\]

`POST /connectors/connections`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/connectors/connections`
- Auth: HTTP bearer

> **Deprecated.**

Deprecated: use `POST /plugins/app:{app}/add`. Still served exactly as before; every answer carries a `Deprecation` header. Answers the address the person's browser opens to sign in to the app and allow access. Afterwards the browser is sent to `success_url`, with `account_id` added to its query, or to `error_url`; the caller then records the result with `POST /connectors/connections/complete`. Both addresses must be https (http is accepted for localhost) and on one origin. Answers 400 `unknown_app` for an app that cannot be connected and 502 `connect_error` when the authorization cannot be started.

## Request body

- object
  - `app` string, required: The app's slug.
  - `success_url` string, required
  - `error_url` string, required

## Response `200`

OK

- object
  - `url` string, required

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/connectors/connections/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
