List My Emails
Lists the authenticated user's own email addresses — the primary address, the verified emails of linked identity providers, and addresses added with AddEmail, including ones still waiting for verification — with where each comes from.
Self-only; service accounts are not accepted.
Required scopes: auth:emails:read or auth:account:read
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
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.MeService/ListMyEmails" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"emails": [
{
"id": "6f1c2a9e-3b7d-4c55-9a43-2f0e8d1b7c61",
"email": "[email protected]",
"verified": true,
"primary": true,
"sources": [
"EMAIL_SOURCE_UNSPECIFIED"
],
"connectionIdpSlugs": [
"github"
],
"verifiedAt": "2023-01-15T01:30:15.01Z",
"verificationExpiresAt": "2023-01-15T01:30:15.01Z",
"createdAt": "2023-01-15T01:30:15.01Z"
}
],
"heldElsewhere": [
{
"email": "[email protected]",
"connectionIdpSlugs": [
"github"
]
}
]
}List Connections POST
Lists the external identity-provider accounts the authenticated user has linked to their Xeonr account — provider slug, the user's id at that provider, and the username it reported. This is how an application resolves the signed-in user to their Discord or GitHub identity. Only ever returns the caller's own links; there is no lookup by user id. Email addresses are not included — use the `email` scope. **Required scopes:** `auth:connections:read`
Remove Email POST
Removes a custom address from the authenticated user's set, verified or pending. The primary address is refused (`failed_precondition`); so is an address that comes only from a linked identity provider — unlink the provider instead. An address that is both custom and a linked provider's stays, as the provider's. **Required scopes:** `auth:emails:edit` or `auth:account:edit`