---
title: "Get SDK Key"
method: GET
path: "/v1/configs/{configId}/environments/{environmentId}"
tags: ["SDK Keys"]
---

# Get SDK Key

`GET /v1/configs/{configId}/environments/{environmentId}`

This endpoint returns the SDK Key for your Config in a specified Environment.

## Path parameters

- `configId` string, uuid, required
- `environmentId` string, uuid, required

## Response `200`

- SdkKeysModel
  - `primary` string, required — The primary SDK key.
  - `secondary` string, nullable, required — The secondary SDK key.

## Other responses

- `400` — Bad request.
- `404` — Not found.
- `429` — Too many requests. In case of the request rate exceeds the rate limits.

---

[API](https://skmtc.net/configcat/apis/configcat-public-management-api.md) · [All operations](https://skmtc.net/configcat/apis/configcat-public-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/configcat/configcat-public-management-api/revisions/6b4d53bc1455/schema)
