GET
/
api
/
v1
/
users
/
{user_email}
import os
from syllable_sdk import SyllableSDK


with SyllableSDK(
    api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:

    res = ss_client.v1.users_get_by_email(user_email="<value>")

    # Handle response
    print(res)
{
  "email": "user@email.com",
  "first_name": "Jane",
  "last_name": "Smith",
  "role_id": 1,
  "last_updated_comments": "Updated to change which role was assigned",
  "id": 1,
  "role_name": "admin",
  "last_updated": "2023-11-07T05:31:56Z",
  "last_updated_by": "admin@email.com",
  "last_session_at": "2025-01-01T12:00:00Z"
}

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

user_email
string
required

Response

200
application/json

Successful Response

Information about a user.

email
string
required

Email address of the user

Examples:

"user@email.com"

role_id
integer
required

ID of the role assigned to the user

Examples:

1

id
integer
required

Internal ID of the user

Examples:

1

role_name
string
required

Name of the role assigned to the user

Examples:

"admin"

last_updated
string
required

The timestamp of the most recent update to the user

first_name
string | null

First name of the user

Examples:

"Jane"

last_name
string | null

Last name of the user

Examples:

"Smith"

last_updated_comments
string | null

Comments for the most recent edit to the user.

Examples:

"Updated to change which role was assigned"

last_updated_by
string | null

The email address of the user who last updated the user

Examples:

"admin@email.com"

last_session_at
string | null

The timestamp of the user's last session

Examples:

"2025-01-01T12:00:00Z"