---
title: "List OAuth app users"
method: GET
path: "/v1/projects/{project_id}/oauth-apps/{app_id}/users"
tags: ["oauth-apps"]
---

# List OAuth app users

`GET /v1/projects/{project_id}/oauth-apps/{app_id}/users`

## Request

- Base URL: `https://api.connic.co`
- URL: `https://api.connic.co/v1/projects/{project_id}/oauth-apps/{app_id}/users`
- Auth: HTTP bearer

Lists end users who connected through an OAuth app, most recently connected first.

Pass `user_id` to check one end user's connection. Token values are never returned.

Required permission: `oauth_apps.view`.

## Path parameters

- `project_id` string, uuid, required
- `app_id` string, uuid, required

## Query parameters

- `user_id` string, nullable: Only this end user's connection.
- `limit` integer: Maximum number of end users to return.
- `offset` integer: Number of end users to skip.

## Response `200`

Successful Response

- OAuthUserListResponse
  - `users` OAuthUserResponse[], required: End users on this page, most recently connected first.
    - `user_id` string, required: End-user ID your backend passed when creating the connect link.
    - `status` 'connected' | 'expired', required: `expired` when the access token has expired and no refresh token is stored, otherwise `connected`.
    - `scope` string, nullable, required: Scope the provider granted, or null if it didn't report one.
    - `expires_at` string, nullable, required: When the stored access token expires, or null if the provider set no expiry.
    - `connected_at` string, required: When the end user last completed sign-in.
    - `last_used_at` string, nullable, required: When an agent run last used the token, or null if never.
  - `total` integer, required: Number of end users matching the filter.

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key lacks the required permission or access to the environment.
- `404`: The resource does not exist in this project.
- `422`: Validation Error
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/connic/apis/connic-api.md) · [All operations](https://skmtc.dev/connic/apis/connic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/connic/apis/connic-api/revisions/482932da5fbe?raw)
