Get the account's SAML SSO connection, enriched with the live Stytch object so the UI can display the ACS URL / audience URI the customer needs at their IdP and the currently configured IdP values.
GET
/account/sso/saml/connection
const url = 'https://api.siteqwality.com/account/sso/saml/connection';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/account/sso/saml/connection \ --header 'Authorization: Bearer <token>'If Stytch is unreachable or no longer knows the connection, the local row is returned on its own rather than failing the page.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The account’s SSO connection
Media type application/json
SAML connection as returned to the dashboard. Combines our row (account linkage, claimed domain) with the live Stytch object (SP-side values the customer pastes into the IdP, plus the configured IdP values).
object
connection_id
required
string
display_name
required
string
status
required
pending until the IdP side is configured, then active.
string
email_domain
string | null
acs_url
Service-provider values for the IdP side of the setup.
string | null
audience_uri
string | null
idp_entity_id
Configured IdP values (echoed back so the UI can show current state).
string | null
idp_sso_url
string | null
has_certificate
required
Whether at least one verification certificate is on file.
boolean
created_at
required
string format: date-time
Example generated
{ "connection_id": "example", "display_name": "example", "status": "example", "email_domain": "example", "acs_url": "example", "audience_uri": "example", "idp_entity_id": "example", "idp_sso_url": "example", "has_certificate": true, "created_at": "2026-04-15T12:00:00Z"}Missing or invalid authentication
Caller is not a super admin, or the plan does not include SSO
No SSO connection configured
Internal server error