Skip to content

    API reference

    API overview

    The Simple Inventory API lets your own code or another app read and change one organization's inventory: list and look up items, create and edit them, change stock, and subscribe to events. Requests and responses are JSON over HTTPS.

    A key belongs to the organization it was created in, and every request made with it reads and writes that organization's inventory. The API and webhooks are available on every plan and during the free trial.

    Base URL

    Every path in this reference is relative to:

    http
    https://app.simpleinventory.io/api/v1
    

    Send Content-Type: application/json with any request that has a body.

    Create an API key

    Owners and Admins only, in the web app. The phone app has no API Keys screen.

    1. Open Settings → Integrations → API Keys.
    2. Click Create API Key (or Create your first API key if the organization has none yet).
    3. Enter a Name you'll recognize later, such as the app you're connecting.
    4. Under What can this key do?, tick See inventory, Change inventory, or both. See Permissions.
    5. Click Create key.
    6. Copy the key with Copy, then click Done.

    The Copy your new API key dialog with the key hidden, a warning to keep it somewhere safe, and the Copy and Done buttons

    The key starts with si_live_ and is shown only once. Simple Inventory stores only a hash of it, so it can't be shown again. If you lose it, create a new key and revoke the old one.

    Warning:

    Treat a key like a password. Keep it on your server, never in a web page or a phone app.

    To revoke a key, click Revoke on its row (the trash icon on a narrow screen) in Settings → Integrations → API Keys and confirm with Revoke. Requests that use it are refused from then on, and this can't be undone.

    A key also stops working when the person who created it is no longer an Owner or Admin of the organization. Create a new key from an account that is.

    Authentication

    Send the key in the Authorization header of every request:

    bash
    curl https://app.simpleinventory.io/api/v1/me \
      -H "Authorization: Bearer $SIMPLE_INVENTORY_API_KEY"
    

    A missing or malformed header, an unknown or revoked key, a key whose creator is no longer an Owner or Admin, or a key of a closed organization gets 401 unauthorized.

    The one endpoint that takes no key is the inbound webhook receiver, which checks a signature instead.

    Permissions

    Each key has one or both of two permissions, chosen when you create it. Every endpoint in this reference says which one it needs; a request without it gets 403 forbidden. write does not include read.

    Permission Label in Settings Lets the key
    read See inventory Look up items, folders and recent events, and subscribe to events (what Zapier triggers use).
    write Change inventory Create and edit items and change stock.

    Check a key

    GET /me — any key

    Returns the organization and API key the request is authenticated as. It's the quickest way to test a key.

    bash
    curl https://app.simpleinventory.io/api/v1/me \
      -H "Authorization: Bearer $SIMPLE_INVENTORY_API_KEY"
    
    json
    {
      "data": {
        "organization": { "id": 12, "name": "Acme Supply" },
        "apiKey": { "id": 5, "name": "Shop sync", "scopes": ["read", "write"] }
      }
    }
    
    Status Code When
    401 unauthorized The key is missing, unknown, revoked or no longer valid.

    Rate limits

    Each API key is allowed 120 requests per minute, counted in fixed one-minute windows. The count is kept on each of our servers separately, and your requests can be spread across more than one, so treat 120 a minute as the rate to stay under rather than an exact ceiling. The limit is counted on the key you send, before the key is checked, so requests with a wrong key count too. A request with no Bearer key is counted against its IP address.

    Over the limit you get 429 with a Retry-After header giving the number of seconds to wait. Wait that long before retrying. To change stock on many items, use bulk update (up to 100 items per request) rather than one request per item.

    json
    {
      "success": false,
      "error": "rate_limited",
      "message": "API rate limit exceeded. Please slow down.",
      "retryAfter": 37
    }
    
    Note:

    A wider limit of 600 requests a minute, counted the same way, sits in front of the per-key one and counts the requests that were refused too. A client that keeps sending after its first 429 can reach it. Its 429 has the same shape and Retry-After header, but its error is RATE_LIMITED.

    The inbound webhook receiver has its own limit, per IP address. See Receive stock updates.

    Subscription status

    What the API does depends on the organization's plan. A lapsed plan doesn't revoke keys or remove webhooks, and everything resumes on its own once the organization has an active plan again. An organization that stays unpaid can be deleted on the schedule in How long your data is kept, and its keys and webhooks go with it.

    Organization API and webhooks
    Active plan or free trial Everything works.
    Past due: a renewal payment failed and is still being retried Everything works except POST /items and PATCH /items/{identifier}, which return 402 subscription_required, as the app does for the same edits. Stock changes, reads, subscriptions and webhook deliveries carry on.
    Trial ended without a plan, or the subscription lapsed (cancelled, or unpaid once payment retries ran out) Every request with a key returns 402 subscription_required, except DELETE /hooks/{id}. Webhooks and subscriptions send nothing: deliveries already waiting are cancelled, and changes made meanwhile are not saved up for later. Inbound webhooks answer 200 with processed: false and apply nothing.

    For how plans and trials work, see Plans & billing.

    Retries and idempotency

    A request that timed out may still have been applied. Whether retrying it is safe depends on the endpoint:

    Request Retrying it
    PATCH /items/{identifier}/quantity Safe if you send an Idempotency-Key header. A repeat with the same key for the same item changes nothing and answers 200. Without a key, a retried increment or decrement moves stock again.
    POST /items/bulk-update Safe with an Idempotency-Key, as long as you resend the same list in the same order: the change at position i is recorded under <key>:<i>.
    PATCH /items/{identifier} Safe: it sets values, so repeating it gives the same result.
    POST /items Not idempotent. Without a SKU, a retry creates a second item. With a SKU, the retry gets 409 duplicate_sku once the first request has created the item, and you can look the item up by that SKU. Wait for the first response (or its timeout) before retrying.
    POST /hooks Safe: the same URL and event return the existing active subscription.
    Inbound webhooks Safe: the same signed request is applied once, and so is any request repeating an Idempotency-Key already applied to that item.

    How keys are matched, and how long they last, is in Idempotency keys.

    Errors

    Errors use standard HTTP status codes and a JSON body with a machine-readable error code and a readable message. Branch on the code, not the message; messages may be reworded.

    json
    {
      "error": "not_found",
      "message": "Item not found"
    }
    

    Every code is listed in Errors.

    Quick start

    1. Create a key with See inventory ticked.

    2. Put the key in an environment variable so the examples in this reference can use it:

      bash
      export SIMPLE_INVENTORY_API_KEY="si_live_your_key_here"
      
    3. Check it works:

      bash
      curl https://app.simpleinventory.io/api/v1/me \
        -H "Authorization: Bearer $SIMPLE_INVENTORY_API_KEY"
      
    4. Fetch your first item:

      bash
      curl "https://app.simpleinventory.io/api/v1/items?limit=1" \
        -H "Authorization: Bearer $SIMPLE_INVENTORY_API_KEY"
      
      json
      {
        "data": [
          {
            "id": 123,
            "name": "Blue Mug",
            "sku": "MUG-BLU",
            "quantity": 14,
            "unitCost": 4.5,
            "salePrice": 12,
            "lowStockThreshold": 5,
            "description": "12 oz ceramic mug",
            "barcode": "0123456789012",
            "folderId": 7,
            "folderName": "Kitchen",
            "parentItemId": null,
            "variantValues": null,
            "isVariantGroup": false,
            "archived": false,
            "createdAt": "2026-10-01T14:03:11.000Z",
            "updatedAt": "2026-10-12T09:41:27.000Z",
            "url": "https://app.simpleinventory.io/item/123"
          }
        ],
        "pagination": { "limit": 1, "offset": 0, "hasMore": true }
      }
      

      Each field is described in The item object.

    5. To be told when something changes, add a webhook (Webhooks) or subscribe through the API.

    In this reference

    Page Covers
    Items The item object, identifying an item, listing, fetching, creating and editing items
    Stock Changing one item's stock, bulk updates, idempotency keys
    Folders Listing folders
    Events The six event types, their payloads, and recent events
    Webhook deliveries What a delivery looks like, verifying signatures, retries, URL rules
    Subscriptions Subscribing a URL to an event through the API
    Receive stock updates Letting another system change stock with a signed request
    Errors Every error code

    For connecting without code, see Zapier. Stuck, or need something the API doesn't do yet? Email support@simpleinventory.io or use the support form.