Activate Connector
POST/v1/connectors/:connector_id/activate
Connect the authenticated user's account to a connector.
Use this when a chat stream emits tool_intervention_required with kind: activation.
- OAuth connectors: send an empty body. Open
authorization_urlin a popup. The popup closes itself when the user finishes. Then check thatGET /v1/connectors/{connector_id}returnsstatus: ACTIVE. - API key or environment variable connectors: send
auth_credentials. The response isactivestraight away.
Once the connector is ACTIVE, resolve the intervention with activated, or canceled
if the user gave up.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
Successful Response
Authentication failed - Invalid or missing credentials
Permission denied - Insufficient privileges
Resource not found
Validation error - Invalid request data
Internal server error