Retrieve detailed information about a specific user using their email address.
API Key. Go to your Konstantly site > Settings > API and copy the value from there.
URL Parameters
Email address of the user to retrieve
Response
Interface language (de, en, es, fr, pl, pt, ru)
User avatarShow Image object properties
Error Responses
Returned for validation errorsShow Error object properties
Field-specific validation errors
Returned when user is not foundShow Error object properties
curl --request GET \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/byEmail/user@example.com' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
"id": "1234567890",
"name": "John Doe",
"language": "en",
"occupation": "Salesman",
"location": "London",
"timezone": "Europe/London",
"email": "user@example.com",
"isBanned": false,
"role": {
"alias": "learner"
},
"fromApi": false,
"image": null,
"attributes": {}
}