This is fake endpoint to describe variant of POST /api/v2.1/campaigns/{campaign_id}/rules

Create a rule.

Path Params
integer
required

Campaign ID

Body Params

Object to create

days_of_week
array of int32s
required

Array of days of week, where Sunday is 0, Monday is 1, Saturday is 6

days_of_week*
string
required

Time in 24-hour format: HH:MM

string
required

Time in 24-hour format: HH:MM

string
required

Time zone name as defined in the tz database (e.g. Europe/London)

string
enum
required
Allowed:
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json