---
title: "One connected app. Requires key_read. Another account's client, or a client with no usable token on this account, is 404 oauth_grant_not_found."
method: GET
path: "/api/v1/oauth/grants/{client_id}"
tags: ["Auth"]
---

# One connected app. Requires key_read. Another account's client, or a client with no usable token on this account, is 404 oauth_grant_not_found.

`GET /api/v1/oauth/grants/{client_id}`

## Request

- Base URL: `https://cooperemail.com`
- URL: `https://cooperemail.com/api/v1/oauth/grants/{client_id}`
- Auth: HTTP bearer

## Path parameters

- `client_id` string, required

## Response `200`

OAuth grant

- OAuthGrant
  - `object` 'oauth_grant', required
  - `id` string, required: The OAuth client id.
  - `client_id` string, required
  - `client_name` string, required: Name from the client registration. Empty when that row is missing.
  - `redirect_hosts` string[], required: Hostnames from the client's redirect URIs. No paths, queries, or ports.
  - `scope` string, required
  - `resource` string, nullable, required
  - `connected_at` string, date-time, required
  - `last_refreshed_at` string, date-time, required
  - `active_tokens` integer, required

---

[API](https://skmtc.dev/cooperemail/apis/cooper-email-api.md) · [All operations](https://skmtc.dev/cooperemail/apis/cooper-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cooperemail/apis/cooper-email-api/revisions/6d800a7b3e33?raw)
