Read user property definitions
Enterprise
This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.
Endpoint
/o/data-manager/user-properties
Overview
Returns user-property metadata groups (custom, up) with optional masking and audit info.
Authentication
Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.
Permissions
Requires data_manager Read permission.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
app_id | String | Yes | Target app ID. |
api_key | String | Conditional | Required if auth_token is not provided. |
auth_token | String | Conditional | Required if api_key is not provided. |
Examples
/o/data-manager/user-properties?
app_id=64f5c0d8f4f7ac0012ab3456
Response
Success Response
{
"custom": {
"subscription_tier": {
"type": "s"
}
},
"up": {
"name": {
"type": "-",
"preventTypeChange": true
}
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
custom | Object | Custom user-property definitions from drill meta. |
up | Object | up property definitions plus system properties injected by backend. |
Error Responses
500
{
"result": "Error"
}
Behavior
- Loads
_meta_upfromcountly_drill.drill_metaand ensurescustom/upobjects exist. - Loads relevant system logs and member names for latest audit info.
- Injects system user properties (for example
did) withpreventTypeChange: true. - Adds masking info from
countly.apps.masking.propwhen present.
Related Endpoints
Implementation details
Audit & System Logs
- This endpoint does not emit
/systemlogsactions.
Database Collections
| Collection | Used for | Data touched by this endpoint |
|---|---|---|
countly_drill.drill_meta | Primary user-property metadata source | Reads _meta_up definitions for custom and up properties. |
countly.apps | Masking enrichment source | Reads app masking configuration for user-property masking annotations. |
countly.systemlogs | Audit enrichment source | Reads latest property-related log records for audit metadata. |
countly.members | User-name enrichment source | Resolves log user_id values to member names. |