Campaign Content & Challenges

Preview the next window of a draft recurring schedule

Resolves a draft weekly schedule (start_dow/start_time → end_dow/end_time, day 0 = Monday) against the shop's timezone and returns the next concrete window it would produce — so a caller can confirm the window before creating a template.

Shop-scoped, NOT campaign-nested: the create flow has no campaign yet when the schedule is being drafted. The shop comes from x-shop-id; a shop_id in the body is ignored.

Writes nothing, but gated on read_write scope as the first step of the micro-challenge create flow. No Idempotency-Key needed.

post/micro-challenges/preview-window

Request

  • Base URL
    https://api.reacherapp.com/public/v1
  • URL
    https://api.reacherapp.com/public/v1/micro-challenges/preview-window
  • Auth
    API key in header x-api-key and API key in header x-shop-id

Request body

shop_idinteger nullable
start_dowinteger required
start_timestring time required
end_dowinteger required
end_timestring time required

Response

Successful Response

unknown required

Changes

No operation changes recorded.