GET
/
api
/
v1
/
sdk
/
users
/
{id}
Get User
curl --request GET \
  --url https://api.suggestkit.app/api/v1/sdk/users/{id}
Retrieve a specific user by their ID. This endpoint returns user details including revenue information and platform data.
id
string
required
The unique user ID to retrieve (CUID format, e.g., clm7x1a2b000008l7h3k1b2c3)

Response Fields

FieldTypeRequiredDescription
idstringYesUnique user identifier
projectIdstringYesProject this user belongs to
appUserIdstringNoYour app’s custom user identifier
emailstringNoUser email address
monthlyRevenuenumberNoUser’s monthly revenue/subscription amount
countrystringNoUser’s country
userPlatformstringNoPlatform (IOS, ANDROID, WEB, OTHER)
localestringNoUser’s locale/language
createdAtstringYesUser creation timestamp (ISO 8601)
updatedAtstringYesLast update timestamp (ISO 8601)

Example Response

{
  "id": "clm7x1a2b000008l7h3k1b2c3",
  "projectId": "clm7x1a2b000008l7h3k1b2c3",
  "appUserId": "my_user_456",
  "email": "user@example.com",
  "monthlyRevenue": 9.99,
  "country": "US",
  "userPlatform": "IOS",
  "locale": "en_US",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-01-15T10:30:00.000Z"
}

Error Responses

Status CodeDescriptionExample Response
404User not found{"error": "User not found"}
401Unauthorized - Invalid API key{"error": "Unauthorized"}
500Internal server error{"error": "Failed to get user"}