Skip to main content
POST
/
auth
/
identifier-availability
curl --request POST \
--url https://{deploymentHost}/auth/identifier-availability \
--header 'Content-Type: application/json' \
--data '{
"email": "[email protected]"
}'
{
"status": 200,
"message": "",
"data": {
"available": true,
"identifier_type": "email",
"identifier": "[email protected]"
},
"session": {
"signin_attempts": [],
"signins": [],
"signup_attempts": [],
"active_signin": null
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Body

application/json
email
string<email>

Email address to check

username
string

Username to check

Response

Availability check completed

status
integer
required

HTTP status code

message
string
required

Response message (empty for success)

data
any
required

Response data (can be any type)

session
object
required
errors
object[]
required

Array of error objects (empty for success)