Skip to main content
GET
/
users
/
{userId}
/
sso
curl --request GET \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/1234567890/sso' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
    "url": "https://YOURSITE.konstant.ly/sso/login/abcdef123456789"
}

Documentation Index

Fetch the complete documentation index at: https://docs.konstantly.com/llms.txt

Use this file to discover all available pages before exploring further.

Generate a temporary SSO URL that allows direct login for a specific user.

Request Headers

X-API-KEY
string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.

URL Parameters

userId
string
required
User API ID

Response

url
string
required
SSO URL that can be used for direct login. The URL expires in 30 seconds.

Error Responses

404
object
Not Found error response
curl --request GET \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/1234567890/sso' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
    "url": "https://YOURSITE.konstant.ly/sso/login/abcdef123456789"
}