Documentation Index
Fetch the complete documentation index at: https://docs.suada.ai/llms.txt
Use this file to discover all available pages before exploring further.
Select a specific property for integrations that require additional configuration after OAuth (e.g., Google Analytics).
URL Parameters
The type of integration. Currently supported:
Request
The temporary access token received from the callback
The ID of the property to select
Unique identifier for the user in your system
Response
Whether the property selection was successful
The redirect URI provided during connection
Example
curl -X POST https://suada.ai/api/public/integrations/google-analytics/select-property \
-H "Authorization: Bearer sk-suada-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"temporaryAccessToken": "temp-token-from-callback",
"propertyId": "123456789",
"externalUserIdentifier": "user-123"
}'
{
"success": true,
"passthroughRedirectUri": "https://your-app.com/oauth/callback"
}
Error Codes
Invalid request{
"error": "Missing required parameters"
}
Authentication error{
"error": "Invalid or expired API key"
}
Invalid temporary token{
"error": "Invalid temporary access token"
}
Server error{
"error": "Failed to select property"
}
Notes
- This endpoint is currently only used for Google Analytics integration
- The
temporaryAccessToken is received from the callback endpoint
- The
propertyId should be selected from the list of properties returned in the callback response
- After successful property selection, redirect the user to the
passthroughRedirectUri
- The integration will be automatically enabled for the user after successful property selection