Email validation
  • 02 Feb 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Email validation

  • Dark
    Light

GET /teams/email-exists

Checks if the given email address exists in the project 


Header

ParameterTypeDescription
api_tokenstringYou can get the REST API from Settings > Advanced > API tokens.


Route Parameters

ParameterRequiredTypeDescription
emailIdYesstringThe email address that will be checked
isAnSsoUserNobooleanFor validating SSO (Single Sign-On) users this flag should be set true


Sample Response

{  "data": {    "exists": true,    "user_id": "fe68816b-2222-458b-aasa-fe08461a5ebb"  },  "extension_data": null,  "context": null,  "success": true,  "errors": [],  "warnings": [],  "information": []
}


Response Data

ParameterTypeDescription
existsbooleanA boolean flag indicating if the user exists in the project or not
user_idstringThe user ID associated with the email. Will be null if the email address does not exist in the project.

Was this article helpful?

What's Next