Pre-login user identification
POST
/identify
const url = 'https://auth.timetonic.com/identify';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"userId":"user@example.com"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://auth.timetonic.com/identify \ --header 'Content-Type: application/json' \ --data '{ "userId": "user@example.com" }'Check user authentication requirements before login. Returns SSO URL (if configured), 2FA status, and terms version. Used by frontend to determine login flow before showing password field.
Request Bodyrequired
Section intitulée « Request Bodyrequired »Media typeapplication/json
object
userId
required
User identifier (email, username, or external ID)
string
Example
user@example.comResponses
Section intitulée « Responses »User identification data
Media typeapplication/json
object
Example
{ "ssoUrl": "/saml/tenant-key/login", "ssoOnly": false, "twoFactor": true, "tcVersion": "1.0"}Validation error
Media typeapplication/json
object
success
boolean
error
string
message
string
errors
object
key
additional properties
Array<string>
Example
{ "success": false, "error": "validation_error", "message": "The given data was invalid", "errors": { "email": [ "The email field is required." ] }}