v2

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-05142848.0 KB
admin

Create a flow

Starts a new OAuth2 authentication flow for a pending connection.

post/admin/flows

Request body

connection_idstring
error_urlstring
restart_urlstring

RestartURL is where the SPA sends the user when their flow link expires — typically a tenant-app route that creates a fresh flow. Optional; empty means the expired screen has no recovery button.

return_tostring

Response

createFlow is the 201 response envelope for POST /admin/flows.

expires_atstring
flow_idstring
start_urlstring