Authorizations
API Key authentication. Provide your token in the 'Authorization' header. Example: Authorization: Bearer <YOUR_TOKEN>
Path Parameters
The unique identifier for the captive portal instance.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
The unique identifier for the coupon schedule.
"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
Body
A human-readable name for the schedule.
"Daily Guest Passes"
The number of coupons to generate each time the schedule runs.
1 <= x <= 50020
How often the schedule should run.
daily, weekly, monthly "daily"
The number of minutes each generated coupon will be valid for.
1 <= x <= 90000480
The timezone in which the schedule should be evaluated (e.g., 'America/New_York').
"Australia/Sydney"
The ID of a notification group to receive the generated coupons.
"ng_a1b2c3d4e5f6"
Required for 'weekly' recurrence. The day of the week to run (0=Sunday, 6=Saturday).
0 <= x <= 61
Required for 'monthly' recurrence. The day of the month to run (1-31).
1 <= x <= 3115
Response
The coupon schedule was updated successfully.
The unique identifier for the coupon schedule.
"1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
A human-readable name for the schedule.
"Daily Guest Passes"
The ID of the instance this schedule belongs to.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
The number of coupons to generate each time the schedule runs.
20
How often the schedule should run.
daily, weekly, monthly "daily"
Required for 'weekly' recurrence. The day of the week to run (0=Sunday, 6=Saturday).
1
Required for 'monthly' recurrence. The day of the month to run (1-31).
15
The number of minutes each generated coupon will be valid for after its creation.
480
The timezone in which the schedule should be evaluated (e.g., 'America/New_York').
"Australia/Sydney"
The ID of a notification group to receive the generated coupons.
"ng_a1b2c3d4e5f6"
The timestamp of the last time this schedule was successfully run.
"2025-10-29T08:00:00Z"
The calculated timestamp of the next scheduled run.
"2025-10-30T08:00:00Z"
The number of coupons from the last run that have been redeemed.
5
The total number of coupons generated in the last run.
20
The number of valid, unredeemed coupons remaining from the last run.
15
The timestamp when the schedule was created.
"2025-10-20T14:30:00Z"