Tightly Pim API
The pim API from Tightly — 2 operation(s) for pim.
The pim API from Tightly — 2 operation(s) for pim.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tightly-io:tightly-io-pim-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'The public Tightly API. Authenticate with an API key as a bearer token; the key carries the organisation, so no X-Organization-ID header is sent. Every operation below states the scopes a key needs.
Every response carries two headers, whatever it answers: `X-Request-Id`, the handle on that one call, and `X-Tightly-Region`, the home that served it.
Every write accepts an optional `Idempotency-Key` request header, any string up to 255 characters. Send the same key twice and the second request is answered with the first one''s status and body instead of writing again, so a client that retried after a timeout ends holding the record''s id rather than creating a second one. Reusing a key with a different body, or while the first request is still running, is refused `409`. A write that failed releases its key. Keys answer for 24 hours and belong to the API key that used them.
Any operation can answer `503`, and it is about Tightly rather than about the request: a database briefly out of reach, which is what a failover or a full connection pool looks like from outside, or an idempotency store that could not answer. `message.desc` says which, and most carry a `Retry-After` header naming the seconds to wait. Where the sentence says nothing was written, the same request is safe to send again. Otherwise a read is safe to repeat and a write is not certain either way, because the connection was lost in the middle of it: read the object back before sending it a second time. An `Idempotency-Key` does not settle that one, and deliberately: a write that raised releases its key so the retry is a fresh attempt rather than a refusal for the next day. Branch on the status rather than on `code`, which is `POSTGRES_UNAVAILABLE` or `SERVICE_UNAVAILABLE` depending on which seam refused.'
title: Tightly Pim API
version: 2026-11
servers:
- url: https://api.app.tightly.io
security:
- ApiKey: []
tags:
- name: pim
paths:
/api/v1/pim/v1/products:
get:
description: 'A page of products with their product data: the family each belongs to, whether that family has a template at all, how many required attributes are still empty, and which fields Tightly owns. `family_id` narrows to one family, and `limit` and `offset` page, with `total` for the whole set.
`has_template` is not a completeness figure. Where a product has no family, nothing can be called missing, so a reader that showed a clean bill of health here would be asserting something nobody established.
This is the product data door, included with Essentials+ and Pro, and it is its own resource: a `pim:read` key reaches these two operations and none of the catalogue reads. It resolves its organisation from the key inside its own decorator, so an `X-Organization-ID` header is ignored entirely rather than merely unused, and its refusals answer `data.error` rather than the coded envelope every other operation serves. Use get_pim_product for one product''s attribute values; this list carries the counts.
Scope: `pim:read`.'
operationId: list_pim_products
parameters:
- description: Only products in this family.
in: query
name: family_id
required: false
schema:
type: string
- description: Rows per page. Clamped to 500.
in: query
name: limit
required: false
schema:
default: 100
maximum: 500
type: integer
- description: Rows to skip.
in: query
name: offset
required: false
schema:
default: 0
type: integer
- $ref: '#/components/parameters/TightlyVersion'
responses:
'200':
content:
application/json:
example:
data:
limit: 100
offset: 0
rows:
- family_id: knitwear
has_template: true
missing_required_count: 2
owned_fields:
- composition
- care
product_id: '4410092'
title: Terry Crew
total: 1284
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
properties:
limit:
type: integer
offset:
type: integer
rows:
items:
type: object
type: array
total:
type: integer
type: object
message:
description: severity, service and desc.
type: object
type: object
description: 'A page of products with `total`, `limit` and `offset`, each row carrying its family, whether that family has a template, how many required attributes are missing, and the owned fields.
'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'401':
content:
application/json:
example:
data:
error: The API key is not valid.
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
description: A single `error` sentence.
type: object
message:
type: object
type: object
description: 'No usable key: malformed, unknown, revoked, expired or stopped. One refusal covers all five, in the sentence the seam''s `key_invalid` carries, because telling a caller which is which maps the surface for them. This door resolves the key in its own decorator rather than at the seam, so the body carries `data.error` rather than `message.code`.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'403':
content:
application/json:
example:
data:
error: This organisation's plan does not include Product data. It is sold with Essentials+.
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
description: A single `error` sentence naming the plan it is sold with.
type: object
message:
type: object
type: object
description: 'The key is valid and the organisation''s plan does not include Product data, which is included with Essentials+ and Pro. Specific on purpose: it is only ever shown to the holder of a valid key, so it leaks nothing and it tells an integrator to renew the plan rather than rotate a key that was never the problem. The plan is re-checked on every request, because a key minted on Pro keeps resolving after a downgrade.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DatabaseUnavailable'
security:
- ApiKey: []
summary: The product catalogue with its family attributes, for a system that wants to…
tags:
- pim
x-tightly-scopes:
- pim:read
/api/v1/pim/v1/products/{product_id}:
get:
description: 'One product''s attributes, resolved against its family template: every attribute the family declares, grouped as the family groups them, each with whether it is required, whether it is filled, its value, and whether it is a value the family does not declare at all (`not_in_family`, kept and shown rather than dropped).
Beside the groups: what is missing and required, what is missing and optional, the values that sit outside the family, the fields Tightly owns, and the owned fields whose value a storefront displays but write-back has not reached yet.
A product this key''s organisation does not have answers 404 "Not found", never "product X not found", which would tell anyone holding any valid key which ids exist in someone else''s catalogue.
Included with Essentials+ and Pro. Like list_pim_products it resolves its organisation from the key inside its own decorator and answers `data.error` on a refusal.
Scope: `pim:read`.'
operationId: get_pim_product
parameters:
- description: The product.
in: path
name: product_id
required: true
schema:
type: string
- $ref: '#/components/parameters/TightlyVersion'
responses:
'200':
content:
application/json:
example:
data:
awaiting_write_back:
- composition
family_id: knitwear
groups:
Fabric:
- attribute: composition
filled: true
not_in_family: false
required: true
value: 80% cotton, 20% polyester
- attribute: gsm
filled: false
not_in_family: false
required: true
value: null
has_template: true
missing_optional:
- origin
missing_required:
- gsm
- care
not_in_family:
- legacy_swatch_code
owned_fields:
- composition
- care
product_id: '4410092'
title: Terry Crew
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
properties:
awaiting_write_back:
items:
type: string
type: array
family_id:
type:
- string
- 'null'
groups:
description: Attribute rows keyed by the family's own group names.
type: object
has_template:
description: False where the product has no family. Nothing can be called missing then.
type: boolean
missing_optional:
items:
type: string
type: array
missing_required:
items:
type: string
type: array
not_in_family:
items:
type: string
type: array
owned_fields:
items:
type: string
type: array
product_id:
type: string
title:
type: string
type: object
message:
description: severity, service and desc.
type: object
type: object
description: 'The product, its family, its grouped attributes, and the four absence lists, missing required, missing optional, not in family, and awaiting write-back.
'
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'401':
content:
application/json:
example:
data:
error: The API key is not valid.
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
description: A single `error` sentence.
type: object
message:
type: object
type: object
description: 'No usable key: malformed, unknown, revoked, expired or stopped. One refusal covers all five, in the sentence the seam''s `key_invalid` carries, because telling a caller which is which maps the surface for them. This door resolves the key in its own decorator rather than at the seam, so the body carries `data.error` rather than `message.code`.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'403':
content:
application/json:
example:
data:
error: This organisation's plan does not include Product data. It is sold with Essentials+.
message:
desc: ''
service: inventory
severity: INFO
schema:
properties:
data:
description: A single `error` sentence naming the plan it is sold with.
type: object
message:
type: object
type: object
description: 'The key is valid and the organisation''s plan does not include Product data, which is included with Essentials+ and Pro. Specific on purpose: it is only ever shown to the holder of a valid key, so it leaks nothing and it tells an integrator to renew the plan rather than rotate a key that was never the problem. The plan is re-checked on every request, because a key minted on Pro keeps resolving after a downgrade.
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'404':
description: 'No such product for this key''s organisation. Deliberately not "product X not found".
'
headers:
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
'429':
$ref: '#/components/responses/RateLimited'
'503':
$ref: '#/components/responses/DatabaseUnavailable'
security:
- ApiKey: []
summary: One product's attributes, resolved against its family template
tags:
- pim
x-tightly-scopes:
- pim:read
components:
responses:
DatabaseUnavailable:
content:
application/json:
example:
code: POSTGRES_UNAVAILABLE
message:
code: postgres_unavailable
desc: The database is unavailable right now. Try again in a few seconds.
doc_url: https://app.tightly.io/docs/api/guides/errors#postgres_unavailable
request_id: req_2e7b41c0d9384fa6b15c8073ea92d1f4
service: UNKNOWN
severity: ERROR
schema:
properties:
code:
description: The same stable code as message.code, at the envelope's top level.
type: string
message:
description: severity, service, desc, and on a keyed refusal code, doc_url and request_id.
type: object
type: object
description: The database is briefly out of reach, which is what a failover or a full connection pool looks like from outside. Wait the seconds `Retry-After` names and send the request again. A read is safe to repeat. A write is not, because the connection was lost in the middle of it, so read the object back before sending it a second time. Branch on the status rather than on `code`, which is `POSTGRES_UNAVAILABLE` from one of the two seams that raise this and `SERVICE_UNAVAILABLE` from the other.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
RateLimited:
content:
application/json:
example:
code: rate_limited
message:
code: rate_limited
desc: This key has reached its limit of 600 reads a minute; try again in 12 seconds.
doc_url: https://app.tightly.io/docs/api/guides/errors#rate_limited
request_id: req_5c1a9f47b0e34d8f9a2c6e10b3d4f785
service: UNKNOWN
severity: ERROR
schema:
properties:
code:
description: The same stable code as message.code, at the envelope's top level.
type: string
message:
description: severity, service, desc, and on a keyed refusal code, doc_url and request_id.
type: object
type: object
description: The key has spent its allowance for this minute. 600 reads and 120 writes a minute, counted per key, refused calls included. `Retry-After` says how long to wait.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
X-RateLimit-Limit:
$ref: '#/components/headers/X-RateLimit-Limit'
X-RateLimit-Remaining:
$ref: '#/components/headers/X-RateLimit-Remaining'
X-RateLimit-Reset:
$ref: '#/components/headers/X-RateLimit-Reset'
X-Request-Id:
$ref: '#/components/headers/X-Request-Id'
X-Tightly-Region:
$ref: '#/components/headers/X-Tightly-Region'
headers:
X-RateLimit-Reset:
description: Unix seconds. The moment the allowance is whole again.
schema:
examples:
- 1793491260
type: integer
X-Tightly-Region:
description: The home that served the call. `us` for every organisation today.
schema:
examples:
- us
type: string
Retry-After:
description: Seconds to wait before sending the request again.
schema:
examples:
- 12
type: integer
X-Request-Id:
description: The handle on this one call. Quote it in a support conversation, or find the call by it in the key's Usage.
schema:
examples:
- req_8f3c1d0a6b2e4a519c772e0a4b6d1f83
type: string
X-RateLimit-Limit:
description: The ceiling on the allowance this call spent, per key, per minute. Reads and writes are counted apart, so the number moves with the verb.
schema:
examples:
- 600
type: integer
X-RateLimit-Remaining:
description: What is left of that allowance, this call included. Never below zero.
schema:
examples:
- 597
type: integer
parameters:
TightlyVersion:
description: The date train to answer on. One train exists today, `2026-11`, the one this reference describes and the one every key is minted on, so the call answers on it with or without this header. Send it anyway, so a client built now names its train from the start.
in: header
name: Tightly-Version
required: false
schema:
examples:
- 2026-11
type: string
securitySchemes:
ApiKey:
description: 'An API key from Settings > Developer > API keys, sent as `Authorization: Bearer tly_live_...`. The key carries the organisation.'
scheme: bearer
type: http