Open API guide
Read and update your shop's repairs, customers and inventory from your website, scripts and AI assistants.
Updated November 24, 2026
Build your own integrations and AI assistants on your shop's SpotsPOS data: read and update repairs, customers and inventory from your website, scripts, or tools like SpotsPOS Chat.
The machine-readable spec is the OpenAPI 3.1 file, also shown as the API reference. Generate SDKs, MCP servers and API explorers from it.
1. Getting started
- Create a key. In SpotsPOS, go to Settings → API keys → Create key. Name it after the integration (e.g. "Website integration"), choose what it may do, and have an owner or store admin approve it with their admin PIN. Then copy the key. It's shown only once. Rotating, revoking and resuming a key need the same approval, and the app shows who approved each.
- Check it works:
curl https://web.spotspos.com/api/open/v1/me -H "Authorization: Bearer rsk_live_..." - Check the shop's access:
GET /shopsays whether the shop's plan includes the API, and how much of its allowance is left. - Call the endpoints you were given scopes for (section 6).
Everything a key does is recorded in Settings → API keys → Activity for 90 days, including refused calls.
2. Base URL and authentication
| Base URL | https://web.spotspos.com/api/open/v1. |
| Auth | Authorization: Bearer rsk_live_<8 characters>_<secret> on every request |
| Format | JSON in and out (Content-Type: application/json), with bodies up to 100 KB. Dates are ISO 8601 (UTC). Money and counts are numbers. |
| CORS | None: the API is for servers and scripts, not browsers. Never put a key in a web page or mobile app. |
About keys:
- One shop: a key belongs to one shop location and only ever sees and changes that shop's data. The shop comes from the key, never from the request.
- Expiry and rotation: keys expire after at most a year. Rotating a key in Settings issues a new one, and the old one keeps working for 24 hours so you can switch without downtime.
- Revoking a key stops it immediately.
- Automatic revocation: a key assigned to an employee is revoked if the employee leaves the shop, or loses the permission the key needs.
3. Scopes and plans
Scopes
Each endpoint needs one scope. A key without it gets 403 insufficient_scope, with details.scope naming the missing scope. GET /repair-types is the one endpoint that takes either of two scopes; its 403 also lists both in details.anyOf.
| Scope | Endpoints |
|---|---|
repairs:read |
GET /repairs, GET /repairs/{id}, GET /repair-types |
repairs:write |
POST /repairs, PATCH /repairs/{id}/status, GET /repair-types (so a key that only creates repairs can look up the repair type to send) |
customers:read |
GET /customers, GET /customers/{id} |
customers:write |
POST /customers |
inventory:read |
GET /inventory/items |
inventory:write |
PATCH /inventory/items/{id}, POST /inventory/items/bulk |
| (none) | GET /shop, GET /me |
A write scope doesn't include its read scope.
Plans
The Open API is included on every paid plan. Free shops and shops on a trial (of any plan) don't have it until they pay.
| Plan | Requests | API keys per shop |
|---|---|---|
| Starter (legacy: Manager) | 100 in total, once. They don't renew | 1 |
| Essential (legacy: Basic, Deluxe) | Fair use: each key's daily limit (section 4) | 1 |
| Pro (legacy: Premium, Special) | Fair use: each key's daily limit (section 4) | 5 |
Multi-shop plans follow Essential or Pro, per location. On Starter and Essential the one key can be a shop key or an employee's own key.
- Without a paid plan: every endpoint except
GET /shopanswers403 plan_not_included.details.reasonisfreeortrial, anddetails.upgradeUrlpoints to the pricing page. - Starter's 100 requests: API calls, AI assistant (MCP) calls and webhook events all count, one each.
GET /shopdoesn't count, and neither do calls answered429or5xx. Every counted response hasX-Usage-LimitandX-Usage-Remainingheaders. When they're used up, every endpoint exceptGET /shopanswers403 usage_limit_reachedand webhooks stop, until the shop upgrades. - More keys than the plan allows (after a downgrade, e.g. Pro with 3 keys to Essential): every endpoint except
GET /shopanswers403 key_limit_exceededuntil a shop admin revokes the extra keys in Settings → API keys. The admin picks which key to keep. The SpotsPOS apps keep working. - Suspended shop:
403 shop_suspended. GET /shopalways answers, so your integration can show the shop's plan, its usage and an upgrade button.- After losing the paid plan, keys pause rather than being deleted, and work again after an upgrade. An upgrade lifts every limit within seconds.
4. Rate limits
Each key has its own allowance. Allowances refill steadily rather than resetting at fixed times. Every paid plan has the same rate limits; Essential and Pro differ only in how many keys a shop can have.
| Reads per minute | Writes per minute | Bulk calls per minute | Requests per 24 h |
|---|---|---|---|
| 60 | 20 | 2 | 10,000 |
Fair use: the requests per 24 h are the fair use limit for Essential and Pro. SpotsPOS can change it; GET /v3/apikeys/scopes in the apps and the X-RateLimit-* headers always show the current number. Starter also has its 100 requests in total (section 3).
How calls count:
GETcalls are reads;POSTandPATCHare writes.- A bulk call counts as a write and as a bulk call.
- Every call counts toward the 24 hours.
Headers on every response:
| Header | Meaning |
|---|---|
X-RateLimit-Limit |
The allowance closest to running out |
X-RateLimit-Remaining |
Calls left in it |
X-RateLimit-Reset |
Seconds until it's full again |
X-RateLimit-Bucket |
Which allowance: reads-per-minute, writes-per-minute, bulk-per-minute, requests-per-day |
Over the limit:
- You get
429 rate_limitedwithRetry-After(seconds) anddetails: { limit, max, retryAfter }. Wait that long, then retry. - After 10 invalid keys from one address in a minute, that address gets
429 rate_limitedwithdetails.reason: "failed_attempts"for a short while, even with a valid key.
5. Errors
Every error has the same shape:
{ "error": { "code": "insufficient_scope", "message": "This API key doesn't have the repairs:write scope.", "details": { "scope": "repairs:write" } } }
Branch on code; message is for people.
| Status | code |
Meaning | What to do |
|---|---|---|---|
| 400 | validation |
The body isn't valid JSON | Fix the request |
| 401 | invalid_key |
No key, or not a valid key | Check the Authorization header |
| 401 | key_expired |
The key expired | Create a new key in Settings |
| 401 | key_revoked |
Revoked, or rotated more than 24 h ago | Use the new key |
| 403 | key_paused |
The key is paused. details.reason: unusual_activity or repeated_limits when it was paused automatically (section 9) |
An owner or store admin resumes it in Settings → API keys with their admin PIN. Fix the loop or burst first |
| 403 | api_access_disabled |
SpotsPOS turned API access off for this shop | Contact SpotsPOS support |
| 403 | plan_not_included |
The shop has no paid plan: details.reason is free or trial |
Upgrade: details.upgradeUrl |
| 403 | usage_limit_reached |
Starter's 100 requests are used up (details.used, details.limit) |
Upgrade: details.upgradeUrl. Don't retry |
| 403 | key_limit_exceeded |
The shop has more keys than its plan allows (details.keys, details.limit; details.action is revoke_keys) |
A shop admin revokes the extra keys, or the shop upgrades. Don't retry |
| 403 | shop_suspended |
The shop is suspended | Resolve billing |
| 403 | insufficient_scope |
The key lacks details.scope |
Create a key with that scope |
| 403 | plan_limit |
A plan limit was reached (e.g. customers) | Upgrade: details.upgradeUrl |
| 404 | not_found |
No such record in this shop, or no such endpoint | Check the id |
| 409 | conflict |
It already exists (e.g. details.existingCustomerId), or the same Idempotency-Key is still running |
Use the existing record, or retry shortly |
| 413 | validation |
The body is over 100 KB | Send less; use the bulk endpoint in batches of up to 100 |
| 422 | validation |
A parameter or field isn't valid, or a list got a query parameter it doesn't take; details.field names it (details.allowed lists the list's parameters; bulk: details.items) |
Fix the request |
| 429 | rate_limited |
Over a rate limit | Wait Retry-After seconds |
| 429 | quota_exceeded |
The shop reached a limit on new repairs, new customers, stock changes or bulk calls (details.quota, max, resetsAt) |
Wait until resetsAt. Don't retry in a loop |
| 429 | repeated_request |
The exact same GET too many times in a minute | Reuse the response you already have |
| 500 | internal |
Our side failed | Retry later; contact support if it continues |
| 503 | rate_limit_unavailable |
A temporary problem on our side | Retry after Retry-After seconds |
| 503 | writes_paused |
SpotsPOS has paused API changes for now; reads still work | Retry after Retry-After seconds |
6. Endpoints
Field values: fields that may be empty are null, never missing. Lists return { items, nextCursor, hasMore } (section 7), except GET /repair-types, which returns every type at once as { items }.
GET /shop
Scope: none, and it doesn't count toward Starter's 100 requests. The key's shop, its plan, whether it has API access, and its usage.
{
"id": "671a...", "name": "Fix-It Phones", "status": "active",
"plan": { "name": "Starter", "legacy": false },
"apiAccess": true, "reason": null,
"upgradeUrl": "https://web.spotspos.com/pricing",
"keys": { "used": 1, "limit": 1, "employeeLimit": 1, "overLimit": false, "toRevoke": 0 },
"usage": { "kind": "total", "used": 37, "limit": 100, "remaining": 63 },
"actionRequired": null
}
Fields:
status:activeorsuspended.reason: whyapiAccessis false:freeorplan(no paid plan),trial,suspended,key_limit(more keys than the plan allows) orusage_limit(Starter's 100 requests are used up).plan.name:Freewhen there's no paid plan.keys: the shop's keys against its plan's limit.overLimitis true after a downgrade left more keys than the plan allows, andtoRevokesays how many a shop admin must revoke.usage: Starter:{ kind: "total", used, limit, remaining }. Essential and Pro:{ kind: "daily", limit, keys: [{ id, prefix, used, remaining }] }for this key's last 24 hours.nullwithout a paid plan.actionRequired:revoke_keyswhen a shop admin must revoke keys before the API works again, elsenull.
GET /me
Scope: none. The key itself: { key: { _id, name, prefix, scopes, expiresAt, status }, shop }. status is active, or rotating during the 24 h after a rotation.
GET /reference
Scope: none of its own. The shop's vocabulary in one call. AI assistants call it once at the start of a conversation, instead of paging through repairs to work out which statuses exist.
{
"shop": { "id": "671a...", "name": "Fix It Fast", "timezone": "America/Chicago", "language": "en", "currency": "USD" },
"guideVersion": "95efefc00b9a",
"generatedAt": "2026-11-13T15:00:00.000Z",
"repairStatuses": {
"statuses": [
{ "value": "Awaiting Parts", "stage": "waiting", "customerMessage": "own", "internal": false, "count": 14, "open": 9 }
],
"otherValues": [{ "value": "AwaitingParts", "count": 3, "open": 0, "mapsTo": "Awaiting Parts" }]
},
"deviceTypes": [{ "type": "Phone", "count": 812 }],
"repairTypes": [{ "id": "6720...", "name": "Phone" }, { "id": "6721...", "name": "Tablet" }],
"technicians": [{ "id": "671b...", "name": "Tess Tech" }],
"itemTypes": [{ "type": "Part", "count": 230 }]
}
| Section | Returned with | What it is |
|---|---|---|
shop |
always | The shop's timezone, language and currency. Show dates in the timezone; every amount is in the currency |
guideVersion |
always | The current version of GET /guide |
repairStatuses.statuses |
repairs:read |
All 12 statuses with their stage, what changing to them tells the customer (own, general or none), and how many repairs are in each (open: not closed) |
repairStatuses.otherValues |
repairs:read |
Older values the shop's repairs still hold, with the status each means today (mapsTo). Add them to a status filter to include those repairs |
deviceTypes |
repairs:read |
The repairs' device types, most used first |
repairTypes |
repairs:read or repairs:write |
The shop's repair types, the repairTypeId that POST /repairs needs, as GET /repair-types lists them |
technicians |
repairs:read |
Who a repair can be assigned to (technicianId). Fired staff are left out |
itemTypes |
inventory:read |
The inventory's item types, most used first |
It's built at most once an hour per shop (generatedAt), and it isn't limited by repeated_request. For the repair types as they are right now (one added in the app a minute ago), use GET /repair-types.
GET /guide
Scope: none. The guide for AI assistants, as markdown: the statuses and what changing them tells the customer, what each field means, the filters that answer common questions in one call, and what the API can't do yet.
- Version: the
Guide-Versionheader, also theETag, matchesguideVersioninGET /reference. - Reloading: send
If-None-Match: "<version>"to get304 Not Modifiedwhen it hasn't changed. - Not limited by
repeated_request.
Repairs
GET /repairs
Scope: repairs:read. Newest first. Parameters: limit, cursor, changed_since (section 7), and these filters:
| Filter | Example | Matches |
|---|---|---|
status |
status=Pending,Awaiting Parts |
The status, exactly but in any case. Several, comma separated |
closed |
closed=false |
Closed (true) or open (false) repairs |
customer_id |
customer_id=671f... |
The customer's repairs |
technician_id |
technician_id=6720... |
The technician's repairs |
paid |
paid=false |
Paid or unpaid repairs |
high_priority |
high_priority=true |
High priority or normal repairs |
search |
search=ana iphone |
Every word in the repair number (RS912, exact), customer name, device or IMEI |
created_from, created_to |
created_from=2026-11-01T00:00:00Z |
Created at or after / at or before that time |
GET /repairs/{id}
Scope: repairs:read. One repair, or 404 not_found. {id} is the repair's id, or the number the shop sees: GET /repairs/RS912 and GET /repairs/912 both work.
Repair:
{
"id": "671f...", "number": "1042", "status": "Repaired",
"statusUpdatedAt": "2026-11-06T18:22:10.000Z", "createdAt": "2026-11-04T15:01:00.000Z",
"device": "iPhone 13", "deviceType": "Phone", "imei": "356789...", "issue": "Cracked screen",
"repairTypeId": "6720...", "price": 169.9, "paid": false, "closed": false, "highPriority": false,
"archived": false, "warranty": "n/a",
"customer": { "id": "671c...", "name": "Ana Lopez", "phone": "555-0101", "email": "[email protected]" },
"technicianId": "671b...", "updatedAt": "2026-11-06T18:22:10.000Z"
}
Device lock codes and unlock patterns are never returned, including a lockCode sent with POST /repairs.
What the fields mean:
repairTypeId: the shop's repair type (GET /repair-types).nullon older repairs created without one.deviceType: the name of the repair's repair type, such asPhone.price: what the customer pays: the repair's lines with their tax and the labor. With a GST (tax-inclusive) tax group, the tax is already inside the price.status: one of the app's 12 statuses (seePATCH /repairs/{id}/status). Older repairs can hold older spellings, such asSubmittedorAwaitingParts, and closing a repair in the app setsClosed Repair.closedandpaid: separate from the status. No status closes a repair, and thePaidstatus doesn't setpaid.
POST /repairs
Scope: repairs:write. Accepts Idempotency-Key.
What it does: creates a repair exactly as the app does:
- the next repair number
- the customer's "repair received" text and email
- the shop's
repair.createdwebhook - a history entry under your key's name
{ "customerId": "671c...", "repairTypeId": "6720...", "device": "iPhone 13", "issue": "Cracked screen",
"lockCode": "0123", "imei": "356789...", "estimatePrice": 120, "laborPrice": 40,
"notes": "Dropped it", "highPriority": false, "technicianId": "671b..." }
| Field | Required | Rules |
|---|---|---|
customerId |
✅ | A customer of this shop (create one with POST /customers) |
repairTypeId |
✅ | One of this shop's repair types, from GET /repair-types. Integrations from before repairTypeId can send deviceType instead (see Repair type) |
device |
✅ | Up to 200 characters |
issue |
✅ | Up to 200 characters |
lockCode |
The device's passcode or password: text, up to 64 characters, saved exactly as sent. Never returned | |
imei |
Up to 64 characters | |
estimatePrice |
A number ≥ 0. Adds the estimate line. 0 still adds it |
|
laborPrice |
A number ≥ 0. Adds the "Labor Cost" line | |
notes |
Up to 2,000 characters; added as a note | |
highPriority |
A boolean | |
technicianId |
Someone on this shop's staff |
Pricing: the API builds the repair's lines exactly as the app does:
estimatePriceadds a line named "<device> <issue>" (iPhone 13 Cracked screen), taxed when the shop taxes estimates.laborPriceadds a "Labor Cost" line, taxed when the shop taxes labor.- Tax comes from the shop's default tax group. With a GST (tax-inclusive) group, it's already inside the price.
- The repair's
priceis the total: the lines, their tax and the labor. For example, $120 plus 8.25% tax, plus $40 untaxed labor, is169.9. - No stock changes. These lines aren't inventory parts.
Repair type: every repair needs one of the shop's repair types, as in the app.
repairTypeIdcomes fromGET /repair-types(orrepairTypesinGET /reference). With an id that isn't one of this shop's repair types, the answer is422 validationwithdetails.field: "repairTypeId".- The repair's
deviceTypeis set to the repair type's name. deviceTypeinstead ofrepairTypeId: for integrations from beforerepairTypeId, adeviceTypesent alone picks the shop's repair type with that name. Case and outer spaces don't matter (" phone "picksPhone), and if two types share the name, the first inGET /repair-typesorder is used. A name that matches none of the shop's types answers422 validationwithdetails.field: "repairTypeId", the same as sending neither. New integrations should sendrepairTypeId.- Both:
repairTypeIddecides, anddeviceTypeis ignored. - Labor groups: when the customer is in a labor group for that repair type, the repair gets that labor group, as in the app.
Lock code: lockCode is the device's passcode or password, saved on the repair for the technician, exactly as sent.
- Text only: a number answers
422, so a code like0123keeps its leading zero. - Never returned: it isn't in any API response or webhook, and the API activity log stores it as
[redacted]. - Unlock patterns can't be sent through the API.
price was renamed: sending it answers 422 validation with details.field: "price".
Returns 201 with the repair. If a repair for the same customer and device (any case) was created in the last few minutes, it returns 200 with that repair and a Duplicate-Of: <id> header, and creates nothing (section 9). Errors: 422 validation (with details.field: no repairTypeId and no deviceType that names one of the shop's types, or a customerId, repairTypeId or technicianId from another shop), 429 quota_exceeded. Inventory parts can't be added through the API in v1.
PATCH /repairs/{id}/status
Scope: repairs:write. { "status": "Repaired", "notify": true }
What it does: changes the status exactly as the app does:
- the customer gets the status text and email, unless
notifyisfalse - the shop's
repair.status_updatedwebhook fires either way - the history shows your key's name
status is one of the app's 12 statuses, in any casing. It's stored exactly as the app stores it:
| Status | Customer message |
|---|---|
Pending |
General |
In Progress |
Its own |
Awaiting Parts |
Its own |
Waiting on customer |
Its own |
Repaired |
General |
Shipped |
General |
Delivered |
General |
Picked up |
General |
Paid |
General. It doesn't mark the repair paid |
Canceled |
General |
Non Repairable |
Its own |
Tech Damage |
None |
The casing is the app's own: Waiting on customer and Picked up, but In Progress. Canceled has one L. A status doesn't close a repair.
Returns 200 with the repair. Errors: 404 not_found, and 422 validation for any other status, with details.allowed listing the 12.
Customers
GET /customers
Scope: customers:read. Newest first. Parameters: limit, cursor, changed_since, and search: every word must appear in the first or last name, the email or the phone. Phones match by their digits, so search=5550101234 finds (555) 010-1234.
GET /customers/{id}
Scope: customers:read. One customer, or 404 not_found.
Customer:
{
"id": "671c...", "firstName": "Ana", "lastName": "Lopez", "phone": "555-0101",
"email": "[email protected]", "city": "Austin", "b2b": false,
"discount": 10, "credit": 5.5, "points": null, "notes": "Prefers text",
"createdAt": "2026-10-01T12:00:00.000Z", "updatedAt": "2026-11-02T09:30:00.000Z"
}
What the fields mean:
discount: a percent off the customer's sales. 10 means 10%.credit: the customer's store credit balance, in the shop's currency. It's used up when redeemed at checkout.points: not used.b2b: a business customer.notes: the shop's notes about the customer.email: null when the customer has no email.
POST /customers
Scope: customers:write. Accepts Idempotency-Key.
{ "firstName": "Ana", "lastName": "Lopez", "phone": "555-0101", "email": "[email protected]", "city": "Austin", "notes": "VIP", "b2b": false }
Required: only firstName.
Returns 201 with the customer. If a customer with the same phone (or, without a phone, the same email) was created in the last few minutes, it returns 200 with that customer and a Duplicate-Of: <id> header (section 9).
Errors:
409 conflictwithdetails.existingCustomerId: an older customer of this shop already has that phone number. Use that customer.409 conflictwithdetails.field: "email": a business (b2b) customer with that email already exists.403 plan_limit: the plan's customer limit is reached.422 validation: a field isn't valid.
Inventory (parts and accessories)
Devices, meaning serialized units, aren't available in v1.
GET /inventory/items
Scope: inventory:read. Newest first. Parameters: limit, cursor, changed_since, and these filters:
| Filter | Example | Matches |
|---|---|---|
search |
search=iphone 13 |
Every word in the name, SKU or barcode |
type |
type=Part |
The shop's item type, exactly but in any case. Several, comma separated |
low_stock |
low_stock=true |
Stock at or under lowStockThreshold, as the app's low stock list counts it. false: every other item |
Item:
{
"id": "6710...", "name": "iPhone 13 Screen", "description": "OEM", "sku": "SCR-13", "barcode": "0123...",
"type": "Part", "price": 89, "stock": 4, "lowStockThreshold": 2, "taxable": true,
"serialized": false, "archived": false,
"createdAt": "2026-09-01T...", "updatedAt": "2026-11-05T..."
}
PATCH /inventory/items/{id}
Scope: inventory:write. Send exactly one of:
{ "stock": 10 }: set the stock to 10{ "adjust": -2 }: remove 2; a positive number adds
Optionally add "reason": "Recount" (up to 200 characters). It's kept in the item's stock history.
How it behaves:
- Atomic:
adjustis atomic, so several adjusts at once all count. - History: the change shows in the item's stock history under your key's name.
- Returns:
200with the item.
Errors:
404 not_found422 validation: both or neither ofstock/adjustwas sent, a negativestock, anadjustof 0, or a serialized item
POST /inventory/items/bulk
Scope: inventory:write. Accepts Idempotency-Key. Counts as a bulk call.
{ "items": [ { "id": "6710...", "stock": 5 }, { "id": "6711...", "adjust": 3 } ] }
Rules:
- Size: 1 to 100 items, each id once, and exactly one of
stock/adjustper item. - All or nothing: if any item is invalid (wrong shop, serialized, bad amount), you get
422 validationwithdetails.items: [{ index, field, message }], and nothing changes.
Returns 200 { "items": [ ...updated items ] }.
7. Paging and syncing changes
Every list takes:
| Parameter | |
|---|---|
limit |
1–100, default 50 |
cursor |
The nextCursor from the previous page |
changed_since |
An ISO date: only records changed at or after it |
And returns:
{ "items": [ ... ], "nextCursor": "eyJ2Ijox...", "hasMore": true }
Filters. Each list's filters are listed with it in section 6. They combine: every one must match. Pass each parameter once; filters that take several values take them comma separated. A list refuses any other query parameter with 422 validation, so a typo such as staus=Pending never quietly returns the whole list. A cursor is tied to the filters it was made with: keep them the same while paging.
Read everything: call without a cursor, then pass nextCursor back as cursor until hasMore is false. Lists are newest first and leave out archived records.
Keep a copy in sync:
- First run: page through
GET /customers(or any list) with nochanged_since. - Next runs: call with
changed_sinceset to the latestupdatedAtyou've stored. You get only records changed since, oldest change first, archived records included, so you can mirror archiving. Records with the sameupdatedAtare returned in a stable order, and re-reading one is harmless. - Store
updatedAtfrom the last item of the last page for the next run.
Rules:
- A cursor belongs to the list, shop and filters it came from. Using it elsewhere gives
422 validation; start again without it. - Records not edited since the change tracking began only appear in full reads, not in
changed_sinceresults.
8. Safe retries (Idempotency-Key)
When to use it: network timeouts happen. Send an Idempotency-Key header (any unique string up to 255 characters, e.g. a UUID) on POST requests, so a retry can't create a second repair or customer.
How a retry with the same key behaves:
| Case | Result |
|---|---|
| The first request succeeded (within 24 h) | You get the same response again, with Idempotency-Replayed: true. Nothing new is created. |
| The first request is still running | 409 conflict; retry shortly |
| The same key with a different body | 422 validation |
| The first request failed (not 2xx) | The key is free; the retry runs normally |
Keys are per API key, and are kept for 24 hours.
9. Guardrails
Rate limits (section 4) cap how fast a key calls. Guardrails cap what a shop can do through the API and stop runaway scripts and assistants. Clients can't turn them off: they're enforced by the API.
Shop limits. Each shop has rolling hourly and daily limits on what it does through the API. All of the shop's keys share them, and they're set by the plan:
| Limit | Counts |
|---|---|
| New repairs | Each 201 from POST /repairs |
| New customers | Each 201 from POST /customers |
| Stock changes | Each PATCH /inventory/items/{id}, and each item of a bulk update |
| Bulk calls | Each POST /inventory/items/bulk (hourly) |
-
What counts: only successful changes. A refused request (
422,404...) and a duplicate (200, below) use nothing. -
Over a limit:
429 quota_exceededwithRetry-Afteranddetails:{ "error": { "code": "quota_exceeded", "message": "This shop has reached its limit of 300 new customers per day through the API.", "details": { "quota": "customers-per-day", "max": 300, "retryAfter": 288, "resetsAt": "2026-11-12T15:04:00.000Z", "newShop": false } } }Limits refill steadily, so
resetsAtis when the next one is allowed, not a midnight reset. -
Bigger than the limit: a bulk update bigger than the whole allowance answers
429 quota_exceededwithdetails.requestedandmax. Send fewer items. -
New shops: during their first 30 days, shops get a fraction of each limit (
details.newShop: true). A new location of an established business isn't new.
Duplicate creates. Scripts and assistants sometimes send the same create twice. Within a few minutes:
- Customers: a
POST /customerswith the same phone (formatting doesn't matter), or without a phone the same email, is a duplicate. - Repairs: a
POST /repairsfor the same customer and device is a duplicate. - The response:
200(not201) with the record that already exists, and aDuplicate-Of: <id>header. Nothing new is created, and no texts or emails are sent. - Two identical creates at the same moment: one runs; the other gets
409 conflict(retry it and you get the duplicate response).
Use Idempotency-Key (section 8) as well: it covers every POST for 24 hours.
Repeated reads. The exact same GET (same path and query) more than a few times in a minute answers 429 repeated_request. Keep the response you got instead of asking again. Paging (each cursor is different) and different filters aren't repeats.
Automatic pause. A key is paused, with 403 key_paused on every call, when either of these happens:
- Unusual activity: its requests this hour go far above its busiest hour of the last 7 days.
details.reasonisunusual_activity. - Repeated limits: it keeps getting
429s (rate limits, quotas, repeated reads) within an hour.details.reasonisrepeated_limits.
When a key is paused:
- The shop: gets an email, and the pause shows in Settings → API keys → Activity.
- To resume: an owner or store admin approves resuming the key there with their admin PIN.
- Before resuming: fix the loop or the burst first. A key that keeps hitting limits is paused again.
SpotsPOS pause. During an incident SpotsPOS can pause every change made through the API: writes answer 503 writes_paused with Retry-After, and reads keep working.
10. Changelog
| Version | Date | Change |
|---|---|---|
| v1 | 2026-11 | Keys, scopes, plan access, rate limits and the activity log |
| v1 | 2026-11 | Reads: GET /shop, /me, /repairs, /repairs/{id}, /customers, /customers/{id}, /inventory/items |
| v1 | 2026-11 | Writes: POST /repairs, PATCH /repairs/{id}/status, POST /customers, PATCH /inventory/items/{id}, POST /inventory/items/bulk, and Idempotency-Key |
| v1 | 2026-11 | List filters (repairs: status, customer_id, technician_id, paid, high_priority, search, created_from, created_to; customers: search; inventory: search, type, low_stock), GET /repairs/{id} by repair number, and 422 for unknown query parameters |
| v1 | 2026-11 | Guardrails: shop limits on creates and stock changes (429 quota_exceeded), duplicate creates answer 200 with Duplicate-Of, 429 repeated_request, automatic key pause with admin-PIN resume, and 503 writes_paused |
| v1 | 2026-11 | Creating, rotating, revoking and resuming a key need an admin's approval with their admin PIN, and the key records who approved it. This happens in the app; integrations don't change. |
| v1 | 2026-11 | POST /repairs takes estimatePrice and laborPrice and builds the repair's lines as the app does; the repair's price is the total. price in the body is refused (422). PATCH /repairs/{id}/status only accepts the app's 12 statuses. |
| v1 | 2026-11 | GET /reference (the shop's statuses with their meaning and counts, older status values, device and item types, technicians) and GET /guide (the guide for AI assistants), and a description for every field. technicianId must be staff who aren't fired. |
| v1 | 2026-11-24 | Plans: the API is on every paid plan, Starter included (100 requests in total, 1 key); Essential 1 key and Pro 5 keys, both with the daily fair use limit; trials and free shops have none (plan_not_included with details.reason). New errors usage_limit_reached and key_limit_exceeded, the X-Usage-* headers, and keys, usage and actionRequired in GET /shop. One rate tier for every plan. Webhook events count toward Starter's 100. |
| v1 | 2026-11-24 | Breaking: every repair from POST /repairs needs one of the shop's repair types: send repairTypeId, or deviceType alone naming one of them (case aside). A deviceType that names none, or a create with neither, now answers 422. The repair's deviceType is the type's name. New: GET /repair-types (with repairs:read or repairs:write), repairTypes in GET /reference, and lockCode (the device's passcode, never returned) on POST /repairs. |
Planned: serialized devices in inventory (v2), inventory parts on repairs, and write tools for SpotsPOS Chat.