Search skmtc…
⌘K
Docs
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Generate
Filter operations
owner
14
get
/api/me
Owner, handle, plan, live version, warnings, and the calendar connections that need the owner
get
/api/me/calendars
Calendars across connections with stdlib refs
get
/api/me/versions
Config history
post
/api/me/versions
Upload rules.js; validates and stores a draft version. activate: true also makes it live and requires previewId from a passing preview of exactly this rulesJs (30 minutes; 409 preview_required otherwise)
get
/api/me/versions/{id}
One version with its rules.js
post
/api/me/versions/{id}/activate
Make a version live. A version that was live before and keeps the current handle (rollback) needs no body; a draft, or a version with a different handle, needs { previewId } from a passing preview of it (409 preview_required otherwise)
post
/api/me/preview
Run inline rules.js or a stored version against live events; slots per event type, a diff against live, and (when ok) a previewId for going live with exactly that source
get
/api/me/bookings
Bookings (upcoming=false for all)
post
/api/me/bookings/{id}/cancel
Cancel a booking
get
/api/me/errors
Recent rules.js errors
post
/api/me/sync
Force a full calendar sync
get
/api/me/tools
Every owner tool this token may call (the same ones /mcp lists to it): name, title, description, annotations, and inputSchema, the JSON Schema of its arguments. Also instructions, the rules MCP clients get at initialize (follow them: which fields are untrusted data, which links are Daycal's, previewing before a push), and prompts, the MCP prompts as text (setup: first-time setup step by step)
post
/api/me/tools/{name}
Run one tool, exactly as the MCP tools/call of the same name: the body is its arguments (its inputSchema; no body for none), the response its output. 404 for no such tool, 400 invalid_body for arguments its inputSchema refuses; a refused call is the error it gives over MCP
get
/api/me/billing
Plan, renewal or expiry, the plans with their prices, and the Customer Portal link (null without the billing scope): billing_status
public
7
owner
Copy
Copy Markdown
Copy Markdown
Copying…
Copied
Copy failed
Generate code
Force a full calendar sync
post
/api/me/sync
Request
Base URL:
https://daycal.io
URL:
https://daycal.io/api/me/sync
Auth:
HTTP bearer
Response
OK
object
required
Changes
No recorded changes to this operation across all 1 revision of this API.