Resolve User Contacts
For a service that has to REACH somebody it did not hear from — notify sending a password-reset email to an account that has never opened notify, where the address is on the Xeonr account and auth is the only thing that knows it.
Deliberately NOT ListOrgUsers, which is the org-wide directory behind auth:users:read (admin-gated, sensitive). Reading the whole user list to find one address is the wrong amount of access for the question, so this is its own scope: lookup by subject only, never a list, never a filter. There is no way to enumerate with it — a caller has to already know the subject it is asking about.
Batched because the caller resolves a whole fan-out at once, and one request per recipient of a team-addressed message would make the round trips the cost of the feature.
Service accounts only. A person's token must never hold this: a human has the console for anything legitimate here, and a scope on a user token is one phishing flow away from being somebody else's directory read.
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Subject URNs (urn:xeonr:auth:uid:user:) or bare user ids. Confined to the caller's own organisation whatever is passed.
1 <= items <= 500Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.OrganisationService/ResolveUserContacts" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"contacts": [
{
"subject": "string",
"email": "string",
"name": "string",
"avatarUrl": "string",
"disabled": true
}
]
}