Get all user fields for a community
Retrieves all user fields associated with a specific community.Bearer token authentication required
Only community members can access this endpoint
User must have COMMUNITY_MEMBER
permission for the specified community
Community API key with userFields
permission can also be used
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'https://application.returning.ai/apis/v1/communities//user-fields?isCustom'
Responses
application/json
User fields retrieved successfully
{
"meta": {
"status": "success",
"statusCode": 200,
"totalItemsCount": 1
},
"message": "Get user fields success.",
"data": [
{
"_id": "6857de260f3c24d98fd7ca85",
"field": "total",
"name": "Total",
"type": "numerical",
"creator": {
"_id": "61100af5c548eb5c7ebc7819",
"id": 1,
"avatar": "https://returning-ai.com/avatar.png",
"displayName": "Admin",
"username": "admin"
},
"isCustom": true,
"createdAt": "2025-06-22T11:28:50.301Z",
"updatedAt": "2025-06-22T11:28:50.301Z"
}
]
}
Modified at 2025-08-28 10:34:12