---
title: "Share one of your own connections with the workspace, or start connecting an app for it [write]"
method: POST
path: "/universes/{slug}/connections"
---

# Share one of your own connections with the workspace, or start connecting an app for it \[write\]

`POST /universes/{slug}/connections`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/universes/{slug}/connections`
- Auth: HTTP bearer

With connection_id: only a connection of the caller's can be shared; answers 201 with the workspace's connections. With app, success_url and error_url (owner or admin): starts connecting an app for the workspace itself and answers 200 with the address to open in a browser; record the result with POST /universes/{slug}/connections/complete. A connection made this way belongs to the workspace, not to the person who made it, and stays when they leave.

## Path parameters

- `slug` string, required

## Request body

- object
  - `connection_id` string
  - `app` string
  - `success_url` string
  - `error_url` string

## Response `200`

Started

- object
  - `url` string

## Other responses

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

## Changes

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

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/universes/:slug/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)
