Skip to main content
POST
Finish a connection's OAuth

Authorizations

Authorization
string
header
required

The session token of an admin of your company. Company API, partner and droplet installation tokens are refused.

Body

application/json

What the OAuth callback handed to Fluid admin with connect=finish, posted back by the admin who started the connection.

state
string
required

The state from the callback.

Required string length: 1 - 4096
code
string
required

The code from the callback.

Required string length: 1 - 4096
iss
string | null

The iss from the callback, when it carried one (RFC 9207). One naming another authorization server or provider is refused with invalid_state.

Maximum string length: 2048

Response

The connection, with its tools all off.

bot_connection
object
required

A link to an outside account or remote MCP server that bots can use. Secrets are never returned.

status
integer
required
meta
object
required

Response metadata on every body. List endpoints add pagination.