Hi @Alec Grace
I have a suggestion for this case. You could try a direct HTTP call instead of the SDK. In my test, it returned dateLastLogin and dateWelcomeSent using expand. It might help confirm if the SDK is skipping those fields.
Exemple:
# token
auth = base64.b64encode(f"{CLIENT_ID}:{CLIENT_SECRET}".encode()).decode()
tok = requests.post(
f"{LOGIN}/oauth/token",
headers={"Authorization": f"Basic {auth}", "Content-Type": "application/x-www-form-urlencoded"},
data="grant_type=client_credentials"
)
tok.raise_for_status()
token = tok.json()["access_token"]
# expand
url = f"{API}/api/v2/users/{USER_ID}?expand=dateLastLogin,dateWelcomeSent"
r = requests.get(url, headers={"Authorization": f"Bearer {token}"})
r.raise_for_status()
print(json.dumps(r.json(), indent=2, ensure_ascii=False))
Response:
I hope it's possible to use it. Good luck.
------------------------------
Luiz Rosa
Full stack developer
------------------------------
Original Message:
Sent: 10-22-2025 16:22
From: Alec Grace
Subject: dateLastLogin and dateWelcomeSent are absent
Ah, unfortunately when I send the request from the Python SDK with the same expand groups as in the API Explorer request, it does not return the values. Judging from the wording of the documentation, it seems unlikely that I can rely on these parameters.

Would you happen to know if there exists a specific API request for last log in or date created or welcome sent?
------------------------------
Alec Grace
Original Message:
Sent: 10-22-2025 10:54
From: Alec Grace
Subject: dateLastLogin and dateWelcomeSent are absent
Hi @Luiz Rosa,
Thank you for your quick reply! This is exactly what I was looking for, I knew I was missing something - this works. Thank you so much!
------------------------------
Alec Grace
Original Message:
Sent: 10-21-2025 20:40
From: Luiz Rosa
Subject: dateLastLogin and dateWelcomeSent are absent
Hi Alec Grace,
You could try using the expand parameter. It specifies which fields, if any, to expand.
Note: Expand parameters are resolved with a best-effort approach and are not guaranteed to be returned. If the requested expanded information is absolutely required, it's recommended to use specific API requests instead.
Example:
In my test, I was able to get a successful response:
GET /api/v2/users/{userId}?expand=dateLastLogin,dateWelcomeSent HTTP/1.1
Host: api.mypurecloud.com
Authorization: Bearer *******************
Content-Type: application/json
Response:

------------------------------
Luiz Rosa
Full stack developer
Original Message:
Sent: 10-21-2025 19:10
From: Alec Grace
Subject: dateLastLogin and dateWelcomeSent are absent
Has anyone else run into this issue?
When I request user information from the Users API, all of the information is returned EXCEPT the dateLastLogin and dateWelcomeSent values. I am getting these requests both through the Python SDK and the API explorer with the same results. In the API documentation it clearly states that dateLastLogin and dateWelcomeSent should be returned.
If I am requesting the information incorrectly or incompletely, would anyone be able to point me in the right direction?
Documentation:
#PlatformAPI
#PlatformSDK
------------------------------
Alec Grace
------------------------------
*Edit - I should mention that I am able to see the missing data on the admin web portal but need it for reporting through the API