---
title: "Get tenant OAuth client credentials"
method: GET
path: "/v2/{tenant_slug}/tenants/auth-secret"
tags: ["Tenants"]
---

# Get tenant OAuth client credentials

`GET /v2/{tenant_slug}/tenants/auth-secret`

Retrieve the current OAuth client credentials for a tenant.

## Path parameters

- `tenant_slug` string, required — Tenant DNS slug (lowercase letters, digits, and hyphens; 3-100 characters).

## Response `200`

Successful Response

- APIResponseTenantAuthSecretResponse
  - `data` TenantAuthSecretResponse, required
    - `client_id` string, required — OAuth 2.0 client identifier. Send this value as `client_id` when requesting a token from `POST /v2/oauth/token`.
    - `client_secret` string, required — Current OAuth 2.0 client secret; send as `client_secret` (with `client_id`) when requesting a token from `POST /v2/oauth/token`

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Request Validation Failed
- `500` — Internal Server Error
- `502` — Bad Gateway
- `503` — Service Unavailable

---

[API](https://skmtc.net/urbanfox/apis/urbanfox-customer-api.md) · [All operations](https://skmtc.net/urbanfox/apis/urbanfox-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/urbanfox/urbanfox-customer-api/revisions/e99fd9028c60/schema)
