Skip to content

Save a pre-registered OAuth app (client ID + secret) for an MCP server

PUT
/api/workspaces/{workspaceId}/mcp-servers/{id}/oauth/client
workspaceId
required
string
id
required
string
object
clientId
required
string
>= 1 characters <= 200 characters
clientSecret
string
<= 500 characters

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message