v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Flag import configurations (beta)

Create a flag import configuration

Create a new flag import configuration. The integrationKey path parameter identifies the feature management system from which the import occurs, for example, split. The config object in the request body schema is described by the global integration settings, as specified by the <code>formVariables</code> in the <code>manifest.json</code> for this integration. It varies slightly based on the integrationKey.

post/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}

Path parameters

projectKeystring string required

The project key

The project key

integrationKeystring string required

The integration key

The integration key

Request body

configFormVariableConfig required
tagsstring[]

Tags to associate with the configuration

namestring

Name to identify the configuration

Example request

{
  "tags": [
    "example-tag"
  ],
  "name": "Sample configuration"
}

Response

Flag Import Configuration response

_idstring required

The integration ID

integrationKey'split' | 'unleash' required

The integration key

projectKeystring required

The project key

configFormVariableConfig required
tagsstring[] required

List of tags for this configuration

namestring required

Name of the configuration

versioninteger required

Version of the current configuration

Example response

{
  "_id": "12ab3c4d5ef1a2345bcde67f",
  "integrationKey": "split",
  "projectKey": "default",
  "tags": [],
  "name": "Development environment configuration",
  "version": 1,
  "_access": {
    "denied": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ],
    "allowed": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ]
  },
  "_status": {
    "status": "pending"
  }
}