curl --request GET \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/check \
--header 'Authorization: Bearer <token>'
{
"field": "<string>",
"value": "<string>",
"available": true
}
Check if the unique field value is already taken. For example, an enabled unique username or unique email. This also works with enabled unique custom fields.
curl --request GET \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/check \
--header 'Authorization: Bearer <token>'
{
"field": "<string>",
"value": "<string>",
"available": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
successful check
The response is of type object
.
Was this page helpful?