Get Member by Attribute
Member Management
Get Member by Attribute
Look up a member using a unique attribute such as email when RelationReference is unknown.
GET
Get Member by Attribute
Looks up a member using any unique profile attribute — such as
email_id or mobile_number — when their RelationReference is not available. This is useful during customer support workflows or third-party integrations where only a known identifier like email is on hand. The attribute you search by must be defined in your Loyalife User schema and marked as unique; searching by non-unique fields is not supported.
Responses
200 — Success
200 — Success
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | true |
results.ErrorCode | string | 000 |
results.ReturnObject.Id | integer | Internal member ID |
results.ReturnObject.FullName | string | Member’s full name |
results.ReturnObject.Email | string | Member’s email |
results.ReturnObject.RelationReference | string | Member’s RelationReference (CID) |
results.ReturnObject.TierName | string | Current loyalty tier |
results.ReturnObject.TotalPoints | integer | Total points balance |
404 — Not Found
404 — Not Found
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | false |
results.ErrorCode | string | Error code |
results.ExceptionMessage | string | Error description |
Authorizations
JWT obtained from Generate Auth Token. Pass as Authorization: bearer {token}.
Query Parameters
Your loyalty program ID
Example:
19
Attribute name to search by (e.g. email_id, mobile_number). URL-encode before passing.
Example:
"email_id"
Value to search for. URL-encode before passing.
Example:
"jane.doe@example.com"
Response
Member found