CASE FrameworkCASE Framework

Create a new study

POST
/v1/studies/

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/studies/" \  -H "Content-Type: application/json" \  -d '{    "studyKey": "string",    "secretKey": "string"  }'
{
  "study": {
    "id": "64b8f0f2e1b1c8a1d2e3f4g5",
    "key": "string",
    "secretKey": "string",
    "status": "string",
    "props": {},
    "configs": {},
    "notificationSubscriptions": [
      {}
    ],
    "stats": {},
    "nextTimerEvent": 0,
    "rules": [
      {}
    ]
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}