Returns all OAuth identities linked to the authenticated user’s account, ordered by creation date. Use this to display connected accounts on a settings page, so users can spot a connection they don’t recognise and remove it with Unlink Identity — for example after a password reset, which keeps connected sign-ins.Requires the user’s own access token; a service key is refused.
Headers
string
required
Bearer {accessToken} — a valid access token for the authenticated user.
Response
OAuthIdentity[]
Array of linked identities, ordered oldest first.
Show properties
string
Unique identity ID (UUID).
string
OAuth provider name (e.g., "google", "github", "external").
string
The user’s account ID at the provider.
string | null
Email address returned by the provider.
string | null
Name returned by the provider.
string | null
Avatar URL returned by the provider.
boolean
Whether the provider marked the email as verified.
string
ISO timestamp of when the identity was linked.
boolean
Whether the user has a password set. false for OAuth-only accounts. Use this
to decide whether to prompt the user to
set an initial password before letting
them unlink their last identity.
Error Responses
User Token Required — 403
A service key called this endpoint, with or without actingUserId. It needs the signed-in user’s own access token.
{ "error": "This endpoint needs the user's own access token; a service key can't use it.", "code": "oauth/user-token-required"}
Acting User Not Allowed — 400
A user token, or a request with no credentials, sent actingUserId, even naming its own user. A user token always acts as its own user. (A service key gets the 403 above instead.)
{ "error": "actingUserId is only accepted with a service key. A user's own token always acts as that user.", "code": "oauth/acting-user-not-allowed"}