canonical: https://jentic.com/apis/skedpal.com/skedpal

# Skedpal SP Firebase Server API

The SP Firebase Server API is the v3 backend behind SkedPal, the time-blocking scheduler, and it connects calendar accounts, runs the scheduling engine, and manages user data and subscriptions. Clients link Google and Office 365 calendars through an OAuth session or connect Exchange and iCloud accounts with a password, then sync accounts, import calendars, and set per-calendar options such as buffer, holiday, and usedAsTimeMap. The scheduler endpoints trigger a reschedule for a user and run what-if checks on whether a task fits a slot. Data endpoints export a user's records as a zip, return scheduling tasks as CSV, fetch the latest backup, and validate or clear a user's data, alongside Stripe and FastSpring subscription handling.

## For AI agents

Connect and sync Google, Office 365, Exchange, and iCloud calendars for SkedPal users, trigger rescheduling, and export or validate a user's scheduling data.

## Scope

Does not create or edit calendar events directly, send email, or offer public booking pages. Use for operating SkedPal calendar connections, scheduling, user data, and subscriptions only.

## Capabilities

- Open an OAuth session to connect a Google or Office 365 calendar, or connect an Exchange or iCloud account with a password
- Sync a calendar account or every account of a type such as GOOGLE, EXCHANGE, GRAPH, or ICLOUD
- Import a calendar and set its buffer, holiday, dontSyncEventTitles, and usedAsTimeMap options
- Trigger a reschedule of a user's tasks and run what-if checks on whether a task fits a slot
- Export a user's data as a zip file, fetch the latest backup, or pull scheduling tasks as CSV
- Change, cancel, or undo the cancellation of a user's subscription plan

## Use cases

### Agent-driven calendar connection and sync

A support or ops agent helping a SkedPal user whose schedule looks stale can reconnect and resync the calendar without opening the admin console. Through Jentic the agent searches for 'sync a calendar account', loads the SkedPal sync operation, and calls it with the accountId while the Basic Auth pair is injected at call time. It then lists the account's calendars to confirm which ones are selected for import.

Example prompt: Call POST `/api/v3/calendars/accounts/{accountId}/sync` for the user's account, then GET `/api/v3/calendars/accounts/{accountId}/calendars` and report which calendars are selected

### Rescheduling after a calendar change

When a user's meetings move, their time-blocked tasks need to be placed again. The scheduler endpoints trigger a reschedule for one user and offer what-if checks that test whether a given taskId fits at a slotStart, so an operator can confirm a placement before committing to it.

Example prompt: Call POST `/api/v3/scheduler/reschedule/checkTaskInSlot/{userId}` with a taskId and slotStart, and if it fits, call POST `/api/v3/scheduler/reschedule/{userId}`

### User data export and backup

Data requests and migrations need a full copy of a user's records. The API exports a user's data as a zip by userId or by email, returns the latest backup as a zip, and produces the user's scheduling tasks as a CSV file for review in a spreadsheet.

Example prompt: Fetch GET `/api/v3/data/{userId}` to export the user's data zip and GET `/api/v3/data/{userId}/scheduling-tasks` for the CSV of tasks

### Subscription plan changes

Billing support often needs to change or cancel a plan on a user's behalf. The subscriptions endpoints change the active plan, cancel it, undo a cancellation, and return Stripe price lists and customer portal links.

Example prompt: Call POST `/api/v3/subscriptions/undo-cancel` to reactivate the user's cancelled subscription and confirm with GET `/api/v3/subscriptions/stripe/subscriptions`

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/api/v3/calendars/session` | Open an OAuth calendar connection session |
| POST | `/api/v3/calendars/accounts` | Connect an Exchange or iCloud account |
| POST | `/api/v3/calendars/accounts/{accountId}/sync` | Sync a calendar account |
| GET | `/api/v3/calendars/accounts/{accountId}/calendars` | List calendars on an account |
| POST | `/api/v3/scheduler/reschedule/{userId}` | Reschedule a user's tasks |
| GET | `/api/v3/data/{userId}` | Export a user's data as a zip |
| POST | `/api/v3/subscriptions/change-plan` | Change the active subscription plan |

## Key resources

- **Calendar accounts** — Connect, sync, configure, and disconnect Google, Office 365, Exchange, and iCloud accounts and their calendars
- **Scheduler** — Reschedule a user's tasks, run what-if slot checks, and trigger background scheduling
- **User data** — Export, import, back up, search, validate, and clear user records and collections
- **Subscriptions** — Change, cancel, and reactivate plans, plus Stripe checkout, prices, and portal links
- **Announcements** — Create and update in-app announcements and their tags

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 34 / 100
- **Maturity:** Non-Ready
- **Dimensions:**
  - Foundational Compliance: 49 / 100
  - Developer Experience & Jentic Compatibility: 56 / 100
  - AI-Readiness & Agent Experience: 37 / 100
  - Agent Usability: 90 / 100
  - Security: 10 / 100
  - AI Discoverability: 55 / 100
- **View full report:** https://jentic.com/apis/skedpal.com/skedpal/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the SP Firebase Server API by hand means sending a Basic Auth pair on every call, handling OAuth sessions for Google and Office 365 separately from password-based Exchange and iCloud accounts, and finding the right call among calendar, scheduler, data, and billing groups. Through Jentic you install once, import it from the API Directory, store the credential once, and your agent calls it.
- **Permission scoping:** The API puts the calendar accountId and the userId in the URL path (`/api/v3/calendars/accounts/{accountId}/...`, `/api/v3/data/{userId}`), so a rule can pin your agent to one account or one user. You choose the operations it may call, so destructive ones like DELETE `/api/v3/data/{userId}` or subscription cancellation are not included unless you add them.
- **Credential handling:** Your SkedPal Basic Auth username and password are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'sync a calendar account' or 'export a user's data', and Jentic returns the matching SkedPal operation with its input schema, including enums like the GOOGLE, EXCHANGE, GRAPH, and ICLOUD account types, so the agent calls the right endpoint.

## Related APIs

- **Cronofy** — Unified calendar API across Google, Microsoft 365, Exchange, and iCloud
- **Nylas** — Calendar, email, and contacts API across major providers
- **Google Calendar API** — Read and write events directly on Google calendars

## FAQ

### What authentication does the SP Firebase Server API use?

Per its OpenAPI spec, the SP Firebase Server API applies HTTP Basic Auth globally to its operations, so each request carries a username and password in the Authorization header. Through Jentic that pair is held by your own instance and added to each call. Two operations take extra credential-shaped inputs: the Stripe webhook receiver expects a Stripe-Signature header, and the FCM test notifications take a device token query parameter. Those identify the webhook or device, not the API caller.

### Which calendar providers can I connect through the SP Firebase Server API?

The account type enum covers GOOGLE, EXCHANGE, GRAPH, and ICLOUD. Google and Office 365 calendars connect through an OAuth session opened with POST `/api/v3/calendars/session`, while Exchange and iCloud accounts connect with a password through POST `/api/v3/calendars/accounts.`

### What are the rate limits for the SP Firebase Server API?

The OpenAPI spec does not specify rate limits. Check SkedPal's documentation and support at https://skedpal.com before running bulk syncs or background scheduling jobs.

### Is there a SkedPal MCP server?

You don't need an MCP server to give your agent the SP Firebase Server API. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent finds the calendar, scheduler, or data operation it needs on demand without loading every tool definition into its context.

### How do I reschedule a user's tasks through Jentic?

Search Jentic for 'reschedule a user's tasks', load the POST `/api/v3/scheduler/reschedule/{userId}` operation, and execute it with the userId. For a dry check first, call POST `/api/v3/scheduler/reschedule/checkTaskInSlot/{userId}` with a taskId and slotStart. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SP Firebase Server API?

Yes. Write a rule that allows only the sync and calendar-list operations under one accountId, such as POST `/api/v3/calendars/accounts/{accountId}/sync` and GET `/api/v3/calendars/accounts/{accountId}/calendars`, and the agent can refresh that account and read its calendars but cannot delete data or change plans. Every call it makes is logged.
