Skip to main content

Search People

Find people by tag or by a custom entity-field value. Each result is a full IdentityPersonItem (the same shape returned by Get Identity). To fetch a single known person by id, use Get Identity instead.

API Endpoints​

  • Base URL (Cloud): https://customername.econnectcloud.com/identities
  • Base URL (On-prem): https://<server-host-or-ip>:5009
MethodEndpointDescription
GET/api/v1/people?tagId={tagId}People who have the given tag.
GET/api/v1/people?entityFieldName={name}&entityFieldStringValue={value}People whose custom field matches. Omit the value to match any person who has that field set.
GET/api/v1/people/entityField/{fieldName}/entityValue/{fieldValue}Path-style equivalent of the field lookup.

Authentication​

Requires a JWT bearer token. See Authentication.

Minimum Permission​

The permission name and category below are what you'll see in the Identities web app under System → System settings → Roles.

PermissionCategory
Read All IdentityIdentities

Query Parameters​

ParameterTypeDescription
tagIdstring (GUID)Return people who have this tag.
entityFieldNamestringCustom field name to match.
entityFieldStringValuestringValue to match for entityFieldName. If omitted, matches any person who has that field set.

URL-encode field names and values that contain spaces or special characters.

Code Examples​

Bash
API_URL="https://customername.econnectcloud.com/identities"
TOKEN="your_jwt"

# Find people who have a given tag
curl -sk -X GET "$API_URL/api/v1/people?tagId=4c5d6e7f-8091-2345-6789-abcdef012345" \
-H "Authorization: Bearer $TOKEN" | jq

# Find people by a custom entity field (name + value)
curl -sk -X GET "$API_URL/api/v1/people?entityFieldName=LoyaltyTier&entityFieldStringValue=Gold" \
-H "Authorization: Bearer $TOKEN" | jq

# Same lookup using the path-style variant
curl -sk -X GET "$API_URL/api/v1/people/entityField/LoyaltyTier/entityValue/Gold" \
-H "Authorization: Bearer $TOKEN" | jq

Response​

200 OK — an array of IdentityPersonItem objects (aliases, addresses, entity fields, tags, notes). See Get Identity → Response for the per-item shape. An empty array is returned when nothing matches.

Response Codes​

CodeMeaning
200 OKQuery ran; returns the matching people (possibly empty).
401 UnauthorizedMissing or invalid JWT.
403 ForbiddenThe user lacks the Read All Identity permission.