Complete a personal connector OAuth flow by finalizing the authorization with a state token.
POSThttps://api.aitronos.com/v1/personal-connectors/complete-oauth
Finalize the OAuth authorization flow for a personal connector using the state token from the authorization step. This is used for connectors that require an explicit completion step separate from the OAuth callback.
organization_id string required
The unique identifier of the organization to associate the connector with.
state_token string required
The state token returned from the OAuth authorization flow, used to verify and complete the connection.
Returns the connector connection status and details.
cURL
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/personal-connectors/complete-oauth?organization_id=org_abc123" \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"state_token": "state_xyz789abc"
}'