Keys
Create Key
Changed onpost/console/v1/keys
Request
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/keys
- AuthAPI key in header STATSIG-API-KEY
Request body
Response
Key created successfully
Example response
{
"message": "Key created successfully.",
"data": {
"key": "secret-123",
"type": "SERVER",
"description": "Server secret key",
"scopes": [],
"environments": [
"production"
],
"primaryTargetApp": "primaryApp",
"targetAppID": "app_id_123",
"secondaryTargetApps": [
"secondaryApp"
],
"secondaryTargetAppIDs": [
"app_id_456"
],
"status": "active"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info