CASE FrameworkCASE Framework

Save scheduled email

POST
/v1/messaging/scheduled-emails/

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/messaging/scheduled-emails/" \  -H "Content-Type: application/json" \  -d '{}'
{
  "schedule": {
    "id": "string",
    "template": {
      "id": "string",
      "messageType": "string",
      "studyKey": "string",
      "defaultLanguage": "string",
      "headerOverrides": {},
      "translations": [
        {}
      ]
    },
    "type": "string",
    "studyKey": "string",
    "condition": {},
    "nextTime": 0,
    "period": 0,
    "label": "string",
    "until": 0
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}