Resolve Users By Email
Resolves up to 100 email addresses to the accounts holding them as verified addresses — primary, a linked provider's, or one added and verified by the person — within the caller's organisation. Addresses that resolve to no active account are absent from the response.
Service accounts only: a user's token is refused even if it carries the scope. Audit-logged.
Required scopes: auth:users:lookup-email
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
The addresses to resolve, as the caller has them (a git commit's author email, say). Matched trimmed and case-insensitively. Not validated as addresses: one that is not an address simply resolves to nothing, so a batch of real-world author emails is never refused for one odd entry.
1 <= items <= 100Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.UsersService/ResolveUsersByEmail" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"users": [
{
"email": "[email protected]",
"userId": "urn:xeonr:auth:uid:user:123",
"username": "luke",
"displayName": "Luke Smith",
"avatarUrl": "https://cdn.example.com/avatars/abc123",
"automation": true
}
]
}Lookup Users By Connection POST
Resolves external identity-provider ids (Discord snowflakes, GitHub user ids) to the Xeonr accounts that have linked them, within the organisation the request is addressed to. Up to 10 ids per call; ids that resolve to no account are absent from the response. No authentication required. Rate limited per client IP.
Accounts
Accounts