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"
]
}
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"
]
}
Optional header to respect review settings for mutation endpoints.
Create Target App Success
The response is of type object
.