Unleash · Example Payload

Unleash Create Feature Flag Example

Feature FlagsFeature ManagementProgressive DeliveryA/B TestingOpen SourceDeveloper Tools

Unleash Create Feature Flag Example is an example object payload from Unleash, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://app.unleash-instance.example.com/api/admin/projects/{projectId}/features",
    "headers": {
      "Authorization": "Bearer *:development:xxxxxxxxxxxxxxxxxxxx",
      "Content-Type": "application/json"
    },
    "body": {
      "name": "my-new-feature",
      "description": "A new feature flag for the checkout flow",
      "type": "release",
      "impressionData": false
    }
  },
  "response": {
    "status": 201,
    "body": {
      "name": "my-new-feature",
      "description": "A new feature flag for the checkout flow",
      "type": "release",
      "project": "default",
      "enabled": false,
      "stale": false,
      "impressionData": false,
      "createdAt": "2026-05-03T10:00:00.000Z",
      "lastSeenAt": null,
      "createdBy": {
        "id": 1,
        "name": "Admin User",
        "imageUrl": ""
      },
      "environments": [
        {
          "name": "development",
          "enabled": false,
          "strategies": []
        }
      ]
    }
  }
}