Skip to main content
POST
/
api
/
internal
/
markdown-calendars
/
sweep
Auto-create statutory markdown windows across all organisations
curl --request POST \
  --url https://app.solya.app/api/internal/markdown-calendars/sweep \
  --header 'Authorization: Bearer <token>'
{
  "created": 0,
  "durationMs": 187,
  "organizationsFailed": 0,
  "organizationsProcessed": 3,
  "skipped": 6
}

Authorizations

Authorization
string
header
required

Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true