Redeem SAML Access Code

Exchange a SAML access code for details about a SAML login.

Request

This endpoint expects an object.
samlAccessCodestringOptional

Response

This endpoint returns an object.
emailstring or null
The user's email.
statestring or null
Arbitrary data included in the corresponding GetSAMLRedirectURL request.
attributesmap from strings to strings or null

Key-value attributes included by the identity provider.

organizationIdstring or null
The organization this user belongs to.
organizationExternalIdstring or null
The external ID of the organization this user belongs to.
samlFlowIdstring or null
The SAML flow tracking this SAML login.