Skip to Content
Docs

POST /api/connections/{connection_id}/setup

POST
/api/connections/{connection_id}/setup

Apply the connect wizard's choices: {create_tools, allow_writes?, tool_permissions?, sync?: {items, frequency, name?, config?}}. allow_writes points GitHub's tool at its write endpoint. config is the synced source's retrieval settings, validated like an upload's. Honours an Idempotency-Key header for the sync.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

connection_id*string

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/connections/string/setup'
Example Response200
Empty