Start the OAuth flow for a connector.
POSThttps://api.aitronos.com/v1/personal-connectors/authorize?organizationId={organizationId}
organization_id string required Organization ID (e.g., org_722dd7...).
connector_type enum required One of: atlassian, github, clickup, notion.
An object containing the OAuth authorization URL and state parameter for CSRF protection.
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/v1/personal-connectors/authorize?organizationId=org_722dd7..." \
-H "X-API-Key: $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"connector_type": "atlassian"
}'Response:
{
"authorization_url": "https://auth.atlassian.com/authorize?...",
"state": "abc123def456"
}