API SpecificationCurrent User
List Connections
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
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/ListConnections" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"connections": [
{
"idpSlug": "discord",
"externalId": "123456789012345678",
"username": "johndoe",
"emailVerified": true,
"createdAt": "2023-01-15T01:30:15.01Z"
}
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}