---
title: "List connected accounts"
method: GET
path: "/connected-accounts/{user_id}"
tags: ["Connected Accounts"]
---

# List connected accounts

`GET /connected-accounts/{user_id}`

Retrieves a list of all connected accounts for a user.

## Path parameters

- `user_id` string — The ID of the user, or the special value `me` for the currently authenticated user

## Response `200`

Successful response

- object
  - `items` object[], required
    - `user_id` string, required — The ID of the user, or the special value `me` for the currently authenticated user
    - `provider` string, required — Provider config ID of the OAuth provider. This uniquely identifies the provider config on config.json file
    - `provider_account_id` string, required — Account ID of the OAuth provider. This uniquely identifies the account on the provider side.
  - `pagination` object
    - `next_cursor` 'null', nullable — The cursor to fetch the next page of results. null if there is no next page.

---

[API](https://skmtc.net/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.net/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/versions/690014f63028/schema)
