# List linked accounts

`GET /v1/users/{user}/linkedAccounts`, operation `users.ListLinkedAccounts`

Lists Google and GitHub accounts linked to the caller's account, oldest first. Pass me or your own user ID.

Also returns enabled sign-in providers. Signing in with a provider links that account (directly for Google-hosted email addresses, or after email code verification for GitHub).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `user` | path | Yes | `string` | The user's ID, or me for the caller. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `linkedAccounts` | `LinkedAccount[]` | Yes | The accounts, oldest first, with those whose link time kosem doesn't know first. |
| `providers` | `string[]` | Yes | The providers people can sign in with here. Signing in with one links its account. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.