# Developers overview

> What you can build on Staffedly: a REST API with 74 operations, signed webhooks, and an MCP server for AI agents, all on one organization API key.

Staffedly has three ways for your own software to work with your organization's data. All three use the same API key, made by an admin in **Settings → API**.

| What | Use it to | Start here |
| --- | --- | --- |
| REST API | Read people, sites, the schedule, open shifts, time off, hours, credentials, reports, pay runs, invoices, documents, onboarding, jobs and applications, video calls and their notes, bookings, forms and answers, the handbook, to-dos, job offers, and the contacts, notes and emails on a record. Add and change many of them. | [Make your first call](https://staffedly.com/docs/developers/first-call) |
| Webhooks | Be told when something changes, instead of polling. | [Webhooks](https://staffedly.com/docs/developers/webhooks) |
| MCP server | Let an AI agent read your data and propose changes that a person approves. | [Connect an agent over MCP](https://staffedly.com/docs/developers/mcp) |

## Which plans include it

The API, webhooks and the MCP server are part of **Pro**, **Agency** and **Enterprise**, and they work during the free trial. **Core does not include them**: a call with a Core organization's key answers `402 plan_required`. There is no extra charge and no per-call fee. See [Pricing](https://staffedly.com/pricing).

If a plan lapses, keys are paused, not deleted. They work again when the plan is active.

## The basics

- **Base address:** `https://app.staffedly.com`
- **Sign in:** `Authorization: Bearer sfk_…` on every request. See [API keys and permissions](https://staffedly.com/docs/developers/api-keys).
- **Format:** JSON in and out. Times are ISO-8601 in UTC.
- **Lists:** `{ data, hasMore, nextCursor }`. See [Pagination](https://staffedly.com/docs/developers/pagination).
- **Errors:** `{ error: { code, message } }`. See [Errors](https://staffedly.com/docs/developers/errors).
- **Limit:** 120 requests a minute for each key. See [Rate limits](https://staffedly.com/docs/developers/rate-limits).
- **Safe retries:** writes accept an `Idempotency-Key` header. See [Idempotency](https://staffedly.com/docs/developers/idempotency).

## The reference

- [API reference](https://staffedly.com/docs/api/overview): every operation with its permission, parameters, fields and a curl example. It is generated from the app's own endpoint list.
- OpenAPI 3.1 document: [https://app.staffedly.com/api/v1/openapi.json](https://app.staffedly.com/api/v1/openapi.json). No key is needed to read it.
- A readable copy of the same reference is inside the app at **Settings → API**.

## What the API does not do

These are deliberate. They stay with a signed-in person:

- Publishing a draft schedule, or generating one.
- Moving or editing an existing shift. You can add a shift to the live schedule and cancel one, with the separate `schedule:publish` permission.
- Overriding a scheduling rule. A shift that breaks a rule is refused with the rule named.
- Approving hours, changing pay rates, inviting teammates, and deleting anything.
- Returning license numbers or draft schedules. Neither is ever included in a response.
- Sending a job offer. A key can ask for a drafted offer to be sent; a person with the Hiring area approves it in Staffedly and their approval sends it.
- Returning a call's transcript without its own `meetings:transcript` permission, or any call recording, form file, or private link someone was sent.

## Questions

### Is there a sandbox?

There is no separate sandbox. A free trial organization has the full API, so you can build and test against a trial with made-up data.

### Is there an SDK?

No. The API is plain HTTPS and JSON, and the OpenAPI document can generate a client in most languages.

### Can a key reach more than one organization?

No. A key belongs to one organization and can only read and change that organization's data.
