How PurpleSuite works
PurpleSuite is a set of mock enterprise SaaS apps that behave like real business systems: they hold data, they remember changes, and every native app follows the same rules for credentials, expiry, users and APIs. This page explains those shared rules so you can build plugins and agents on any PurpleSuite app.
Why PurpleSuite exists
Many employee requests aren’t questions. “Mark my VPN ticket as in progress” succeeds only if the right record changes in the right way. To build and test agents that act, you need systems where those actions land. The usual options fall short:
- Production systems change real records, and repeated test runs don’t start from the same state.
- Static mocks return canned responses, so nothing an agent does changes what it reads next.
- Vendor sandboxes differ by vendor, and not all of them can be reset to a known state between tests.
PurpleSuite fills that gap with simulated business systems that keep what an agent did, in sandboxes you can create, fill, inspect and reset. Builders use it to develop and debug plugins, and teams use it to demo agents working across business apps.
What is a PurpleSuite instance?
An instance is an isolated business environment that holds data for every PurpleSuite app at once, so one scenario can span HR, IT, calendars and expenses. Each instance has its own data and its own credentials, and nothing you do in one instance affects another.
PurpleSuite is stateful. When you create or update a record, every later read, by an agent, a person or a test, sees the change.
An instance can start empty or with generated sample data. Sample data is useful for exploring and demos, but it can differ between instances. If a test depends on specific records, create those records yourself instead of relying on sample data.
How PurpleSuite credentials work
Each instance has two values for REST requests, shown under Credentials in the instance’s menu:
Credentials belong to the instance, not to a person: anyone with both values can read and change that instance’s data. Treat the instance ID and the API token like passwords, and don’t paste them into plugin descriptions, request examples or shared docs. The instance ID also appears in the MCP server URL, which is enough for an MCP client to connect.
A native REST request needs both headers. If either is missing, the request returns 401. A request for an instance that doesn’t exist returns 404, never an empty result, so a misconfigured connector fails loudly. After 10 failed attempts with a wrong API token, the instance locks for 15 minutes and returns 429.
The MCP server uses a different sign-in; see How the PurpleSuite MCP server works.
When do PurpleSuite instances expire?
Instances are temporary. A new instance expires 7 days after you create it. When an instance expires, PurpleSuite deletes it and all of its data, and its API token stops working. There are no permanent instances.
To keep an instance longer, extend it before it expires: in the instance’s settings, open Expiry and select Extend 7 days, or pick a date with or until and select Apply. You can also extend through the instance API. Each extension sets the expiry to at most 7 days from the time you extend.

Because instances expire, treat PurpleSuite connectors as development assets. When an instance expires, create a new one and update the API token and instance ID in your connector. If your actions set X-Instance-ID themselves, update them too.
How the same people appear in every PurpleSuite app
Every app draws its employees from one shared roster. The same person, with the same name and email, appears in the directory, HR records, calendar events, tickets and expense reports, so an agent can follow one person across systems. External people, such as sales contacts, bank customers and job candidates, are kept separate from employees.
Requests about “me”, such as “my tickets” or “my time off”, resolve to the caller. You can set the caller with the X-PS-Impersonate-User header, or rely on the instance’s default user. An email in a person field, such as an assignee or approver, that doesn’t match anyone on the roster is mapped to the caller, so “my” requests work for any person without preparing records for them first.
The Purple Identity app also has endpoints shaped like the Moveworks Identity Gateway.
How the PurpleSuite APIs are shaped
Every native app follows the same conventions, so once you’ve called one app you can call the others. Painted APIs follow the product they emulate instead.
A few apps keep the response shape of the system they emulate. Purple Calendar’s events, calendars and rooms endpoints return Microsoft Graph-shaped lists ({ value, @odata.nextLink }), while its other lists use the standard shape. The Identity Gateway endpoints in Purple Identity return { results, next_page_token }. Each app’s API reference shows its exact shape.
To find an app and its reference, see PurpleSuite apps and API references.
How the PurpleSuite MCP server works
Each instance has its own MCP (Model Context Protocol) server, which exposes the instance’s apps as tools that MCP clients can discover and call. The server URL is shown as MCP Server URL under Credentials and has this form:
- Transport: streamable HTTP.
- Sign-in: OAuth 2.1 with PKCE. MCP clients discover the authorization server and register themselves, so there’s no client ID to create. The API token doesn’t work on the MCP server.
- Scope: one token covers one instance. Access tokens last 1 hour, and refresh tokens last 30 days.
- Tools: one tool per API operation, named
<app>__<verb>__<resource>, for exampleexpense__list__trips.
The MCP server approves any client that registers against the instance, without asking for the API token. Anyone with the MCP server URL can connect to the instance, so share the URL only with people and clients that should have full access to its data.
What are PurpleSuite paints?
A paint styles a PurpleSuite app after a widely used product and gives it an API in that product’s request and response shape, for the operations PurpleSuite implements. PurpleSuite labels each paint as a likeness, such as ServiceNow-like for Purple ITSM, Jira-like for Purple Planner or SAP Concur-like for Purple Expense. A painted app is still a PurpleSuite simulation, not the vendor’s product, and it covers only part of that product.
If a painted API covers the operations you need, you may be able to reuse the actions from a plugin built for the real product. You’ll still need a connector with the painted API’s base URL and authentication.
You choose a paint for each app, and the choice is stored on the instance. An app you don’t paint keeps its native PurpleSuite look and API. To paint an app in PurpleSuite:
- With your instance selected, open the app, such as Purple ITSM.
- Select the palette button at the top of the app, then choose a paint under Vibe, such as ServiceNow-like. Choose PurpleSuite to go back to the native app.

The app then takes on the paint’s styling, and its name shows the paint, such as Purple ITSM (ServiceNow). A painted app can keep its records separately from the native app, so it may show different records. You can also choose paints through the instance API when you create the instance, or later.

A painted API has its own base URL, authentication and supported operations, which can differ from the native API. For example, a painted API may not use Authorization: Bearer or X-Instance-ID. Always read the painted API’s own reference in the PurpleSuite API catalog before you connect to it.
Limits and trade-offs
- PurpleSuite isn’t the real product. Each app, painted or not, implements a defined set of records and operations, and depth varies by app. Check that the operations you need exist in the app’s API reference before you build on them.
- Test against the real system. A plugin that works against PurpleSuite may still behave differently with the vendor’s system, or need changes to work with it. Before you use a plugin in production, test it thoroughly against the real system it will connect to, such as your organization’s own instance.
- Instances are temporary. Instances and their data are deleted when they expire, so don’t store anything in PurpleSuite you need to keep.
- Sample data varies. Generated sample data can differ between instances. Create the records a test depends on.