Skip to Content
Xeonr Developer Docs
API SpecificationCurrent User

List My Emails

POST
/xeonr.auth.api.v1.MeService/ListMyEmails

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

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

[key: string]?never

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"
      ]
    }
  ]
}