Secure authentication for third-party applications
Industry-standard authorization framework for secure API access
# Step 1: Redirect user to authorization URL
https://auth.cognexiaai.com/oauth/authorize?
client_id=YOUR_CLIENT_ID&
redirect_uri=https://yourapp.com/callback&
response_type=code&
scope=crm:read crm:write
# Step 2: Exchange code for access token
POST https://auth.cognexiaai.com/oauth/token
Content-Type: application/json
{
"grant_type": "authorization_code",
"code": "AUTH_CODE",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"redirect_uri": "https://yourapp.com/callback"
}