Skip to main content
POST
Begin a connected account connect flow

Body

application/json
provider
enum<string>
required

Connected-account provider to connect.

Available options:
github,
google,
microsoft,
linear,
bitbucket,
slack,
gitcafe,
discord
organizationId
string

Organization to connect within. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

Minimum string length: 1

Response

201 - application/json

OK

url
string
required

Vendor authorization URL to open in a browser signed into the Sazabi dashboard as the same user.

attemptId
string<uuid>
required

Connect attempt to poll via connectedAccounts.getConnectAttempt while the browser flow completes.

expiresAt
string<date-time>
required

When the attempt expires if the browser flow never completes.