GET /api/userAuth/me
Returns the full profile of the currently signed-in user. The response never includes the password field.
Required Headers
| Header | Value |
|---|---|
x-api-key | Your pk_live_… key |
Authorization | Bearer <accessToken> |
Response Fields
true when the profile was retrieved successfully.Human-readable status message.
Code Examples
Success Response
Errors
| Status | Cause |
|---|---|
401 Unauthorized | Missing or expired Authorization token |
GET /api/userAuth/public/:username
Returns a public-safe view of a user’s profile. No authentication is required.
This endpoint never returns sensitive fields such as
password or email.
Only fields considered safe for public display are included.Path Parameters
The username of the user whose public profile you want to retrieve.
Required Header
x-api-key: your pk_live_… key.
Code Example
Success Response
Errors
| Status | Cause |
|---|---|
404 Not Found | No user found with that username |
