---
title: "Get an OAuth client"
method: GET
path: "/v1/oauth/clients/{client_id}"
tags: ["OAuth"]
---

# Get an OAuth client

`GET /v1/oauth/clients/{client_id}`

The endpoint returns the details of OAuth client to display in the authorization page.

## Query parameters

- `response_type` 'code' | 'token'
- `redirect_uri` string
- `scope` string

## Response `200`

Success.

- OathClientResponse
  - `client_id` string — OAuth client id
  - `description` string
  - `live_trading_approved` boolean
  - `name` string — Broker name (your name)
  - `privacy_policy` string — URL of Privacy Policy
  - `redirect_uri` string[]
  - `status` 'ACTIVE' | 'DISABLED' — ACTIVE or DISABLED
  - `terms_of_use` string — URL of Terms of Use
  - `url` string

## Other responses

- `401` — Client does not exist or you do not have access to the client.

---

[API](https://skmtc.net/alpacahq/apis/gift-city-extensions-api.md) · [All operations](https://skmtc.net/alpacahq/apis/gift-city-extensions-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alpacahq/gift-city-extensions-api/versions/62e3378bb273/schema)
