List a person's referrals
GET
https://api.nicer.travel/identity/{userId}/referrals
Lists the people someone referred to the agency the request acts for: those they invited who joined (type User) and their invitations not accepted yet (type Invite), each with its date and name. Pages with limit and nextToken. Advisors and admins read their own; an admin also those of an active member of the agency, and Nicer staff anyone's. Errors: 400 ERROR_UNAUTHORIZED for someone else's referrals the caller may not read.
Authorization
Path parameters
Query parameters
- whereoptionalstring
Which rows to keep, on top of the agency the request acts for. A condition is field:operator:value with eq, neq, gt, gte, lt, lte, like, beginsWith, exists, inq or between (inq and between take values joined by |), several of one object joined by commas; and(…;…) and or(…;…) combine them. Example: type:eq:User.
Returns
200
OK