API
Use our JSON API to fetch publications, offers, and product details.
🔐 Authentication
All requests must include the following header:
X-Api-Key: YOUR_API_KEY
Obtain the key by creating an app at https://cms.tjek.com/YOUR_BUSINESS_ID/apps
📚 Fetch All Publications
GET https://squid-api.tjek.com/v2/catalogs?dealer_id=YOUR_BUSINESS_ID
This returns all active publications — public ones where visible_from is before today and valid_through is after today.
🏬 Fetch Publications for a Specific Store
GET https://squid-api.tjek.com/v2/catalogs?dealer_id=YOUR_BUSINESS_ID&store_external_id=YOUR_STORE_ID
Use this to fetch publications shown only in a specific store.
📄 Fetch PDF Pages for a Publication
GET https://squid-api.tjek.com/v2/catalogs/YOUR_CATALOG_ID/pages
🔎 Fetch Offer Details
GET https://squid-api.tjek.com/v2/offers?catalog_ids=YOUR_CATALOG_ID
📦 Fetch Products in an Offer
POST https://squid-api.tjek.com/v4/rpc/get_offer_products
{
"id": "offer_id"
}