Skip to content

Fetch community users in a project

Request

Security
bearerAuth and apiKeyAuth
Bodyapplication/jsonrequired
statusesArray of strings
interestsArray of strings
projectIdsArray of strings
gendersArray of strings
communityUserIdsArray of strings
excludeCommunityUserIdsArray of strings
preferredLangCodesArray of strings
sinceUserIdstring
untilUserIdstring
experienceIdsArray of strings
emailsArray of strings
communityUserSortKeystring(CommunityUserSortKey)
sortDirectionstring(Direction)
clientCustomPropertiesobject
partnerCustomPropertiesobject
screenerResponseobject
sinceCreatedTimeinteger, (int64)
untilCreatedTimeinteger, (int64)
sinceModifiedTimeinteger, (int64)
untilModifiedTimeinteger, (int64)
screenerFilledboolean
excludedFieldsArray of strings
excludeDelegatorboolean
deletedboolean
deletionRequestedboolean
querystring
startinteger, (int32)
rowsinteger, (int32)
adminboolean
curl -i -X POST \
  https://api3.sprinklr.com/prod/api/v3/xbCommunity/users/search \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Key: YOUR_API_KEY_HERE' \
  -d '{
    "statuses": [
      "string"
    ],
    "interests": [
      "string"
    ],
    "projectIds": [
      "string"
    ],
    "genders": [
      "string"
    ],
    "communityUserIds": [
      "string"
    ],
    "excludeCommunityUserIds": [
      "string"
    ],
    "preferredLangCodes": [
      "string"
    ],
    "sinceUserId": "string",
    "untilUserId": "string",
    "experienceIds": [
      "string"
    ],
    "emails": [
      "string"
    ],
    "communityUserSortKey": "string",
    "sortDirection": "string",
    "clientCustomProperties": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "partnerCustomProperties": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "screenerResponse": {
      "property1": [
        "string"
      ],
      "property2": [
        "string"
      ]
    },
    "sinceCreatedTime": 0,
    "untilCreatedTime": 0,
    "sinceModifiedTime": 0,
    "untilModifiedTime": 0,
    "screenerFilled": true,
    "excludedFields": [
      "string"
    ],
    "excludeDelegator": true,
    "deleted": true,
    "deletionRequested": true,
    "query": "string",
    "start": 0,
    "rows": 0,
    "admin": true
  }'

Responses

Success

Bodyapplication/json
Array [
communityUserobject(CommunityUser)
universalProfileobject(UniversalProfile)
communityUserProfilesArray of objects(CommunityUserProfile)
siteNamestring
delegatesArray of objects(DelegateResponse)
delegatorsArray of objects(DelegatorResponse)
]
Response
[ { "communityUser": { … }, "universalProfile": { … }, "communityUserProfiles": [ … ], "siteName": "string", "delegates": [ … ], "delegators": [ … ] } ]