---
title: "Select SDK keys"
method: POST
path: "/v1/proxy-profiles/{proxyProfileId}/sdk-keys/select"
tags: ["Proxy Profiles"]
---

# Select SDK keys

`POST /v1/proxy-profiles/{proxyProfileId}/sdk-keys/select`

This endpoint adds the given list of Config / Environment pairs' SDK Keys to a Proxy Profile 
identified by the `proxyProfileId`.

## Path parameters

- `proxyProfileId` string, uuid, required

## Request body

- ProxyProfileSdkKeysRequest
  - `items` ProxyProfileSdkKeyRequestItem[], required — The list of Config / Environment pairs. By only setting a `configId` means all Environments of that Config will be included. Similarly, by only setting an `environmentId` means all Configs with that Environment will be included.
    - `configId` string, uuid, nullable — The identifier of the Config.
    - `environmentId` string, uuid, nullable — The identifier of the Environment.

## Response `200`

When the selection was successful.

- ProxyProfileSdkKeysListModel
  - `items` ProxyProfileSdkKeyItem[], required — The list of SDK keys (with additional metadata) selected for the Proxy Profile.
    - `primarySdkKey` string, required — The primary SDK Key of the Config / Environment pair selected for the Proxy Profile.
    - `secondarySdkKey` string, nullable, required — The secondary SDK Key of the Config / Environment pair selected for the Proxy Profile.
    - `sdkId` string, required — The SDK ID identifying the Config / Environment pair selected for the Proxy Profile.
    - `configId` string, uuid, required — The identifier of the Config associated with the SDK key.
    - `environmentId` string, uuid, required — The identifier of the Environment associated with the SDK key.

## Other responses

- `400` — Bad request.
- `403` — Forbidden. When selection rules are applied to the Proxy Profile.
- `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/versions/6b4d53bc1455/schema)
