Consumes temporarily stored OAuth credentials from a completed application-level OAuth flow and creates an `IntegrationAuth` record bound to the specified integration config.
The credential key is returned to the frontend via the OAuth success redirect after the user completes authorization. The resulting connection is shared by every agent that references the target config. The credential key is single-use.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The integration ID.
The tenant identifier
The credential key plus the config to bind the credentials to.
The encrypted credential key from the OAuth success redirect.
1 <= lengthThe integration config to bind the OAuth credentials to.
uuidResponse Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string:consumeOAuthCredentials" \ -H "Content-Type: application/json" \ -d '{ "credentialKey": "string", "integrationConfigId": "928c9032-93b2-49a3-82db-be1a31402d0e" }'{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Initiates an OAuth flow for application-level (agent-level) integration auth
Used when the agent builder wants to connect an OAuth account during agent setup, so that all users of the agent share the same credentials. After the user authorizes, the OAuth callback stores credentials temporarily. Use `:consumeOAuthCredentials` to finalize and create the auth record.
Deletes a custom integration and its tools.
Configs are not cascaded — they must be deleted explicitly first so agents pinned to a config don't get silently broken. System integrations cannot be deleted and return 404.