Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Body

application/json

Input for creating a Connect Link — a hosted auth URL

appSlug
string
required

App slug to create a link for (e.g. google, github)

agentId

Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.

Pattern: ^[0-9a-z]+$
userId
string

End-user ID for multi-tenant scoping

scopes
string[]

Override default scopes

callbackUrl
string<uri>

URL to redirect to after auth completes

customAppId
string

Use a custom OAuth app (BYOA)

Response

200 - application/json

OK

Created Connect Link for zero-code authentication

Full Connect Link URL for the user to open

token
string
required

Link token for status polling

expiresAt
string<date-time>
required

When the link expires (10 minutes)