curl -X GET 'https://api.example.com/users/user_jane' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "user_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"subjectId": "subject_jane",
"kindeId": "kp_abc123",
"email": "jane@acme.com",
"emailVerified": true,
"firstName": "Jane",
"lastName": "Doe",
"displayName": "Jane Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"defaultTenantId": "tenant_acme",
"status": "active",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"lastLoginAt": "2024-01-20T14:00:00Z"
}
Get a user by ID
curl -X GET 'https://api.example.com/users/user_jane' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "user_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"subjectId": "subject_jane",
"kindeId": "kp_abc123",
"email": "jane@acme.com",
"emailVerified": true,
"firstName": "Jane",
"lastName": "Doe",
"displayName": "Jane Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"defaultTenantId": "tenant_acme",
"status": "active",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"lastLoginAt": "2024-01-20T14:00:00Z"
}
curl -X GET 'https://api.example.com/users/user_jane' \
-H 'Authorization: Bearer YOUR_TOKEN'
{
"id": "user_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"subjectId": "subject_jane",
"kindeId": "kp_abc123",
"email": "jane@acme.com",
"emailVerified": true,
"firstName": "Jane",
"lastName": "Doe",
"displayName": "Jane Doe",
"avatarUrl": "https://example.com/avatar.jpg",
"defaultTenantId": "tenant_acme",
"status": "active",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"lastLoginAt": "2024-01-20T14:00:00Z"
}
Was this page helpful?