Create connect session

http
POST /projects/{project_reference}/integrations/{name}/connect-sessions

Create connect session.

Parameters

NameInRequiredDescription
project_referencepathYes
namepathYes

Request body

FieldTypeRequiredDescription
scopestringYesConnection owner. Project scope needs the editor role; user scope connects your own account and needs viewer access to the project. API keys also need the integrations write scope. Verified user-session or API-key credentials are required; MCP OAuth grants and runtime credentials are refused.
redirect_uristringYesTrusted web or native URI the browser returns to after consent.

Responses

StatusDescription
201One-time provider consent link.
400Bad request
401Unauthorized
404Project or connection not found, including inaccessible projects or denied scope-dependent project access.
429Rate limit exceeded
500Server error
503Service unavailable