curl -X GET https://api.portkey.ai/v1/admin/organisation/auth-settings \
-H "x-portkey-api-key: PORTKEY_API_KEY"{
"object": "organisation_auth_settings",
"is_email_enabled": 0,
"is_social_enabled": 0,
"is_sso_enabled": 0,
"disable_auto_provision_user": 0,
"oauth_pattern": "<string>",
"session_settings": {},
"sso_settings": {
"issuer_url": "<string>",
"client_id": "<string>",
"client_secret_configured": true,
"status": "<string>",
"client_secret": "<string>",
"type": "<string>",
"token_endpoint_auth_method": "<string>",
"metadata_xml": "<string>",
"last_updated_at": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}Retrieve Organisation Auth Settings
Retrieve sign-in settings for the organisation: email and social sign-in, SSO, OAuth group pattern and session settings. The SCIM token is never returned and the SSO client secret is masked.
Requires an organisation API key with the organisation_auth.read scope.
GET
/
admin
/
organisation
/
auth-settings
curl -X GET https://api.portkey.ai/v1/admin/organisation/auth-settings \
-H "x-portkey-api-key: PORTKEY_API_KEY"{
"object": "organisation_auth_settings",
"is_email_enabled": 0,
"is_social_enabled": 0,
"is_sso_enabled": 0,
"disable_auto_provision_user": 0,
"oauth_pattern": "<string>",
"session_settings": {},
"sso_settings": {
"issuer_url": "<string>",
"client_id": "<string>",
"client_secret_configured": true,
"status": "<string>",
"client_secret": "<string>",
"type": "<string>",
"token_endpoint_auth_method": "<string>",
"metadata_xml": "<string>",
"last_updated_at": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}Portkey is now PRISMA AIRS AI Gateway. See it in action.
Contact Us
Response
OK
Last modified on December 4, 2026
Was this page helpful?

