Skip to main content
POST
/
console
/
v1
/
target_app
Create Target App
curl --request POST \
  --url https://statsigapi.net/console/v1/target_app \
  --header 'Content-Type: application/json' \
  --header 'STATSIG-API-KEY: <api-key>' \
  --data '{
  "name": "string",
  "description": "a description",
  "gates": [
    "<string>"
  ],
  "dynamicConfigs": [
    "<string>"
  ],
  "experiments": [
    "<string>"
  ]
}'
{
  "name": "Target app 1",
  "description": "Example description",
  "gates": [
    "Example gate"
  ],
  "dynamicConfigs": [
    "Example dynamic config"
  ],
  "experiments": [
    "Example experiment"
  ]
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Body

application/json
name
string
required
Example:
description
string
required
Example:
gates
string[]
dynamicConfigs
string[]
experiments
string[]

Response

200 - application/json
message
string
required
data
object
required