Configs

This endpoint creates a new Config in a specified Product identified by the productId parameter, which can be obtained from the List Products endpoint.

post/v1/products/{productId}/configs

Request

Path parameters

productIdstring uuid required

The identifier of the Product.

Request body

namestring required

The name of the Config.

descriptionstring nullable

The description of the Config.

orderinteger nullable

The order of the Config represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers.

evaluationVersion'v1' | 'v2'

Determines the evaluation version of a Config. Using v2 enables the new features of Config V2 (https://configcat.com/docs/advanced/config-v2).

Response

When the creation was successful.

configIdstring uuid required

Identifier of the Config.

namestring required

Name of the Config.

descriptionstring nullable required

Description of the Config.

orderinteger required

The order of the Config represented on the ConfigCat Dashboard.

migratedConfigIdstring uuid nullable required
evaluationVersion'v1' | 'v2' required

Determines the evaluation version of a Config. Using v2 enables the new features of Config V2 (https://configcat.com/docs/advanced/config-v2).

Changes

    • info

      added the required property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status