ConfigCat

App · 24 actions

Manage ConfigCat feature flags, configs, tags and segments, turn flags on or off and set values per environment, read the audit log, and follow flag changes, new flags and other changes.

Actions

ActionWhat it does
Create configCreate a config in a product, to keep a group of feature flags in.
Create feature flagCreate a feature flag (on or off) or a text or number setting in a config.
Create segmentCreate a segment of users whose attribute compares to a value, such as Email contains @example.com.
Create tagCreate a tag for a product's feature flags.
Delete configDelete a config and every feature flag in it.
Delete feature flagDelete a feature flag or setting from every environment.
Delete segmentDelete a segment no targeting rule uses.
Delete tagDelete a tag and take it off every flag that has it.
Get feature flagGet a feature flag or setting's key, type, description and tags.
Get flag valueGet a feature flag or setting's value in one environment and how many targeting rules it has.
Get my accountGet the name and email address of the account the credentials belong to.
List audit logList what changed in a product and who changed it, optionally for one config, environment or kind of change, over at most 30 days.
List configsList a product's configs: the groups its feature flags are kept in.
List environmentsList a product's environments, such as Test and Production.
List feature flagsList the feature flags and settings in a config, with their type and tags.
List flag valuesList every feature flag and setting in a config with its value in one environment.
List organizationsList the organizations the account belongs to.
List product membersList the people who can open a product, with their permission group.
List productsList the products the account can see.
List segmentsList a product's segments: groups of users targeting rules can name.
List tagsList the tags a product's feature flags can carry.
Set setting valueSet a setting's value in one environment: text, a number, or true or false.
Turn feature flag on or offTurn a feature flag on or off in one environment.
Update feature flagRename a feature flag, change its description or replace its tags.

Create config

Create a config in a product, to keep a group of feature flags in.

Inputs

Productproduct_idtextRequired
The product.
NamenametextRequired
The config's name.
Descriptiondescriptiontext
What the config is for.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configId": "example",
    "description": "example",
    "evaluationVersion": "example",
    "name": "example",
    "order": 1,
    "product": {
      "name": "example",
      "productId": "example"
    }
  }
}

Create feature flag

Create a feature flag (on or off) or a text or number setting in a config. It starts off, or empty, in every environment.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
KeykeytextRequired
The key code reads it by, such as isNewCheckoutEnabled. It can't be changed later.
NamenametextRequired
The name shown in ConfigCat.
Typesetting_typetext
The kind of value. Leave empty for a feature flag that is on or off.One of: boolean (Feature flag (on or off)), string (Text setting), int (Whole number setting), double (Decimal number setting).
Descriptionhinttext
What the flag is for.
Tagstag_idslist
Tags to put on the flag.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configId": "example",
    "configName": "example",
    "createdAt": "example",
    "hint": "example",
    "isJson": true,
    "key": "example",
    "name": "example",
    "order": 1,
    "settingId": 1,
    "settingType": "example",
    "tags": [
      {
        "color": "example",
        "name": "example",
        "tagId": 1
      }
    ]
  }
}

Create segment

Create a segment of users whose attribute compares to a value, such as Email contains @example.com.

Inputs

Productproduct_idtextRequired
The product.
NamenametextRequired
The segment's name.
Descriptiondescriptiontext
Who the segment is.
AttributeattributetextRequired
The user attribute compared, such as Email, Country or a custom one.
ComparisoncomparatortextRequired
How the attribute compares to the value.One of: isOneOf (Is one of), isNotOneOf (Is not one of), contains, doesNotContain (Does not contain), semVerIsOneOf (Version is one of), semVerIsNotOneOf (Version is not one of), semVerLess (Version less than), semVerLessOrEquals (Version at most), semVerGreater (Version greater than), semVerGreaterOrEquals (Version at least), and 8 more.
ValuevaluetextRequired
The value compared with; separate several with commas.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "comparator": "example",
    "comparisonAttribute": "example",
    "comparisonValue": "example",
    "createdAt": "example",
    "creatorEmail": "example",
    "description": "example",
    "lastUpdaterEmail": "example",
    "name": "example",
    "segmentId": "example",
    "updatedAt": "example",
    "usage": 1
  }
}

Create tag

Create a tag for a product's feature flags.

Inputs

Productproduct_idtextRequired
The product.
NamenametextRequired
The tag's name.
Colorcolortext
The tag's color, such as panther or salmon, as ConfigCat names them.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "color": "example",
    "name": "example",
    "product": {
      "name": "example",
      "productId": "example"
    },
    "tagId": 1
  }
}

Delete config

Delete a config and every feature flag in it.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configId": "example",
    "deleted": true
  }
}

Delete feature flag

Delete a feature flag or setting from every environment.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "deleted": true,
    "settingId": 1
  }
}

Delete segment

Delete a segment no targeting rule uses.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Segmentsegment_idtextRequired
The segment.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "deleted": true,
    "segmentId": "example"
  }
}

Delete tag

Delete a tag and take it off every flag that has it.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Tagtag_idnumberRequired
The tag.At least 1.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "deleted": true,
    "tagId": 1
  }
}

Get feature flag

Get a feature flag or setting's key, type, description and tags.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configId": "example",
    "configName": "example",
    "createdAt": "example",
    "hint": "example",
    "isJson": true,
    "key": "example",
    "name": "example",
    "order": 1,
    "settingId": 1,
    "settingType": "example",
    "tags": [
      {
        "color": "example",
        "name": "example",
        "tagId": 1
      }
    ]
  }
}

Get flag value

Get a feature flag or setting's value in one environment and how many targeting rules it has.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Environmentenvironment_idtextRequired
The environment.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "config": {
      "configId": "example",
      "evaluationVersion": "example",
      "name": "example"
    },
    "environment": {
      "environmentId": "example",
      "name": "example"
    },
    "lastUpdaterUserEmail": "example",
    "lastUpdaterUserFullName": "example",
    "setting": {
      "key": "example",
      "name": "example",
      "settingId": 1,
      "settingType": "example"
    },
    "targetingRuleCount": 1,
    "updatedAt": "example",
    "value": "example"
  }
}

Get my account

Get the name and email address of the account the credentials belong to.

Inputs

None.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "email": "example",
    "fullName": "example",
    "id": "example"
  }
}

List audit log

List what changed in a product and who changed it, optionally for one config, environment or kind of change, over at most 30 days.

Inputs

Productproduct_idtextRequired
The product.
Configconfig_idtext
Only changes in this config.
Environmentenvironment_idtext
Only changes in this environment.
Kind of changetypetext
Only this kind of change.One of: settingValueChanged (Flag value changed), settingCreated (Flag created), settingChanged (Flag renamed or described), settingDeleted (Flag deleted), configCreated (Config created), configChanged (Config changed), configDeleted (Config deleted), environmentCreated (Environment created), environmentChanged (Environment changed), environmentDeleted (Environment deleted), and 10 more.
Sincesincedate and time
Only changes at or after this time. Leave empty, with Until, for the last 7 days.
Untiluntildate and time
Only changes before this time.
Pagepagenumber
Which page, starting at 1. Leave empty for the first.At least 1.
Entries per pagepage_sizenumber
How many entries a page holds, up to 100. Leave empty for 100.From 1 to 100.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "data": [
      {
        "actionTarget": "example",
        "auditLogDateTime": "example",
        "auditLogId": 1,
        "auditLogType": "example",
        "auditLogTypeEnum": "example",
        "details": "example",
        "userEmail": "example",
        "userName": "example",
        "where": "example",
        "why": "example"
      }
    ],
    "paging": {
      "currentPage": 1,
      "hasNext": true,
      "pageSize": 1,
      "totalCount": 1,
      "totalPages": 1
    }
  }
}

List configs

List a product's configs: the groups its feature flags are kept in.

Inputs

Productproduct_idtextRequired
The product.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configs": [
      {
        "configId": "example",
        "description": "example",
        "evaluationVersion": "example",
        "name": "example",
        "order": 1,
        "product": {
          "name": "example",
          "productId": "example"
        }
      }
    ]
  }
}

List environments

List a product's environments, such as Test and Production.

Inputs

Productproduct_idtextRequired
The product.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "environments": [
      {
        "approveRequired": true,
        "color": "example",
        "description": "example",
        "environmentId": "example",
        "name": "example",
        "order": 1,
        "product": {
          "name": "example",
          "productId": "example"
        },
        "reasonRequired": true
      }
    ]
  }
}

List feature flags

List the feature flags and settings in a config, with their type and tags.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "flags": [
      {
        "configId": "example",
        "configName": "example",
        "createdAt": "example",
        "hint": "example",
        "isJson": true,
        "key": "example",
        "name": "example",
        "order": 1,
        "settingId": 1,
        "settingType": "example",
        "tags": [
          {
            "color": "example",
            "name": "example",
            "tagId": 1
          }
        ]
      }
    ]
  }
}

List flag values

List every feature flag and setting in a config with its value in one environment.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Environmentenvironment_idtextRequired
The environment.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "config": {
      "configId": "example",
      "evaluationVersion": "example",
      "name": "example"
    },
    "environment": {
      "environmentId": "example",
      "name": "example"
    },
    "values": [
      {
        "config": {
          "configId": "example",
          "evaluationVersion": "example",
          "name": "example"
        },
        "environment": {
          "environmentId": "example",
          "name": "example"
        },
        "lastUpdaterUserEmail": "example",
        "lastUpdaterUserFullName": "example",
        "setting": {
          "key": "example",
          "name": "example",
          "settingId": 1,
          "settingType": "example"
        },
        "targetingRuleCount": 1,
        "updatedAt": "example",
        "value": "example"
      }
    ]
  }
}

List organizations

List the organizations the account belongs to.

Inputs

None.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "organizations": [
      {
        "name": "example",
        "organizationId": "example"
      }
    ]
  }
}

List product members

List the people who can open a product, with their permission group.

Inputs

Productproduct_idtextRequired
The product.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "members": [
      {
        "email": "example",
        "fullName": "example",
        "permissionGroupId": 1,
        "productId": "example",
        "userId": "example"
      }
    ]
  }
}

List products

List the products the account can see.

Inputs

None.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "products": [
      {
        "approveRequired": true,
        "description": "example",
        "name": "example",
        "order": 1,
        "organization": {
          "name": "example",
          "organizationId": "example"
        },
        "productId": "example",
        "reasonRequired": true
      }
    ]
  }
}

List segments

List a product's segments: groups of users targeting rules can name.

Inputs

Productproduct_idtextRequired
The product.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "segments": [
      {
        "comparator": "example",
        "comparisonAttribute": "example",
        "comparisonValue": "example",
        "createdAt": "example",
        "creatorEmail": "example",
        "description": "example",
        "lastUpdaterEmail": "example",
        "name": "example",
        "segmentId": "example",
        "updatedAt": "example",
        "usage": 1
      }
    ]
  }
}

List tags

List the tags a product's feature flags can carry.

Inputs

Productproduct_idtextRequired
The product.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "tags": [
      {
        "color": "example",
        "name": "example",
        "product": {
          "name": "example",
          "productId": "example"
        },
        "tagId": 1
      }
    ]
  }
}

Set setting value

Set a setting's value in one environment: text, a number, or true or false. Its targeting rules stay as they are.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Environmentenvironment_idtextRequired
The environment.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.
ValuevaluetextRequired
The value, written as the setting's type: text, a number, or true or false.
Reasonreasontext
Why, for the audit log. Needed when the product requires a reason for changes.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "config": {
      "configId": "example",
      "evaluationVersion": "example",
      "name": "example"
    },
    "environment": {
      "environmentId": "example",
      "name": "example"
    },
    "lastUpdaterUserEmail": "example",
    "lastUpdaterUserFullName": "example",
    "setting": {
      "key": "example",
      "name": "example",
      "settingId": 1,
      "settingType": "example"
    },
    "targetingRuleCount": 1,
    "updatedAt": "example",
    "value": "example"
  }
}

Turn feature flag on or off

Turn a feature flag on or off in one environment. Its targeting rules stay as they are.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Environmentenvironment_idtextRequired
The environment.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.
Onenabledtrue/falseRequired
Whether the flag is on in the environment.
Reasonreasontext
Why, for the audit log. Needed when the product requires a reason for changes.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "config": {
      "configId": "example",
      "evaluationVersion": "example",
      "name": "example"
    },
    "environment": {
      "environmentId": "example",
      "name": "example"
    },
    "lastUpdaterUserEmail": "example",
    "lastUpdaterUserFullName": "example",
    "setting": {
      "key": "example",
      "name": "example",
      "settingId": 1,
      "settingType": "example"
    },
    "targetingRuleCount": 1,
    "updatedAt": "example",
    "value": "example"
  }
}

Update feature flag

Rename a feature flag, change its description or replace its tags.

Inputs

Productproduct_idtextRequired
The product the config and environment are in.
Configconfig_idtextRequired
The config.
Feature flagsetting_idnumberRequired
The feature flag or setting.At least 1.
Namenametext
The name shown in ConfigCat.
Descriptionhinttext
What the flag is for.
Tagstag_idslist
The flag's tags. These replace the tags it has.

Outputs

dataobject
The response from ConfigCat.
Example output
{
  "data": {
    "configId": "example",
    "configName": "example",
    "createdAt": "example",
    "hint": "example",
    "isJson": true,
    "key": "example",
    "name": "example",
    "order": 1,
    "settingId": 1,
    "settingType": "example",
    "tags": [
      {
        "color": "example",
        "name": "example",
        "tagId": 1
      }
    ]
  }
}

On this page