Create Connected Org
Add a new connected org and automatically trigger a full scan.
Owner/Admin only (session auth): registering an org submits a platform credential, expands scan scope, and consumes the plan repo cap — a mutation the workspace role model reserves for Admin/Owner. API-key auth is owner-equivalent and bypasses the role check.
Accepts two auth modes:
- PAT mode: body contains url + access_token
- OAuth mode: body contains oauth_org_login (uses the user’s linked identity token)
A full scan is automatically queued after the org is created. The response
includes initial_scan_id which can be used to poll scan progress via
GET /api/v1/scans/.
Authorizations
Headers
Cookies
Body
Request body for registering a new connected org.
Two mutually exclusive auth modes: PAT mode — provide url + access_token (power users, self-hosted) OAuth mode — provide oauth_org_login (uses the user's linked identity token)
Response
Successful Response
Response schema for a connected org (list/get endpoints).
