← Sadakio Developer DocsCONTENT HISTORY
WHAT CHANGED
Update to Sadakio Developer Docs
Snapshot Oct 24, 2026 · 13:41 UTC · version 1.0.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Sadakio Developer Docs and check future changes in Following.
Up to 10 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use when a developer wants to build a product on Sadakio, the loyalty infrastructure for cafés and small businesses in Türkiye: a loyalty or stamp card app, a guest registration and tracking system, a QR code or QR menu generator, an analytics dashboard, or an integration with a till or POS. Triggers on \"build on Sadakio\", \"Sadakio API\", \"loyalty app for a café\", \"Sadakio integration\" or a request for Sadakio code.\n",
"included_files": [],
"name": "build-on-sadakio",
"skill_md_contents": "---\nname: build-on-sadakio\ndescription: >\n Use when a developer wants to build a product on Sadakio, the loyalty infrastructure for cafés and small businesses in Türkiye: a loyalty or stamp card app, a guest registration and tracking system, a QR code or QR menu generator, an analytics dashboard, or an integration with a till or POS. Triggers on \"build on Sadakio\", \"Sadakio API\", \"loyalty app for a café\", \"Sadakio integration\" or a request for Sadakio code.\nallowed-tools: search_docs get_doc list_endpoints get_endpoint\nlicense: Apache-2.0\nmetadata:\n version: 1.0.0\n visibility: public\n---\n\n# Build on Sadakio\n\nGuides a developer from idea to working code on the Sadakio APIs. Every fact about the API comes from the four Sadakio tools. Never invent an endpoint, field, header or error code: if a tool does not show it, say it is not documented.\n\n## Tool Reference\n\n| Step | Tool | Use |\n|------|------|-----|\n| 1 | `get_doc` | `page: baslangic` for the getting-started flow, `page: cozumler` for the solution recipes |\n| 2 | `search_docs` | find the section for a concrete question |\n| 3 | `list_endpoints` | the full endpoint list of `platform` or `business` |\n| 4 | `get_endpoint` | the exact contract of one endpoint before writing code for it |\n\nAnswer in the user's language. Use `lang: tr` for Turkish questions and `lang: en` otherwise.\n\n## Workflow\n\n1. **Pick the API.**\n - Building their own product for many businesses (an app, an agency panel, a SaaS): the **Platform API**, `pk_` keys.\n - Reading their own café's data (reports, automations): the **Business API**, `sk_` key from the owner panel (Ayarlar → API).\n If it is unclear, ask this one question first.\n\n2. **Access.** Real calls need a key, so tell the developer how to get one, once and briefly:\n - Platform API: self-serve developer sign-up at https://app.sadakio.com/gelistirici/kayit. No company is required and there is no manual approval. The first business is created with the account and the `pk_` key is shown once, so they should store it right away.\n - Business API: the café owner creates an `sk_` key in the Sadakio panel under Ayarlar → API.\n Do not ask the user to paste a key into the chat. In code, read it from an environment variable such as `SADAKIO_API_KEY`.\n\n3. **Find the recipe.** For a product idea, call `get_doc` with `page: cozumler` and follow the matching recipe: QR generator and QR menu, guest registration and tracking, a loyalty app under their own brand, a retention analytics dashboard.\n\n4. **Get exact contracts.** For every endpoint the code will call, call `get_endpoint` and use its parameters, body fields and responses as written. On the Platform API, send an idempotency key (the `Idempotency-Key` header or the `idempotency_key` body field) with every write, one per logical action, reused on retry so nothing is counted twice. Visit events reject a call without one.\n\n5. **Write the code.** Small, runnable, in the developer's language. Base URLs come from the tool results (`base_url`). Handle `4xx` responses using the error shape from the docs, and show where the key goes.\n\n6. **Close with next steps.** Link the relevant docs page (the `url` returned by the tools), and for Platform API work remind them of the sign-up link if they do not have a key yet.\n\n## Boundaries\n\n- These tools read documentation only. They cannot create businesses, guests or stamps, and cannot see any café's data. If the user asks to act on real data (\"give Ayşe 10 stamps\"), explain the call that would do it and that they must run it with their own key.\n- Do not describe Sadakio's internal implementation, pricing or roadmap beyond what `get_doc` returns.\n"
}SHA-256 of public snapshot: 28b1e112cd683862cb40b0a6bbdf34a67a8a18bd44f8941474a55caa52f861ba