Skip to content
Get API key

Docs

Sansflow API documentation

Everything you need to connect a shop, café or salon running Sansflow POS to your own software: a REST API, webhooks and an MCP server for AI assistants.

Start here

Concepts

How every endpoint behaves. Read these once and the reference reads quickly.

API reference

All endpoints live under one base URL and answer JSON:

https://ewpuclvmnygoddunkyrb.supabase.co/functions/v1

At a glance

AuthAuthorization: Bearer sf_live_… or sf_test_…
FormatJSON. Money in whole rupiah (integers). Times in ISO 8601 with offset.
MethodsReads are GET. Writes are POST and need an Idempotency-Key.
PagingKeyset cursors, newest first, limit 1 to 100 (default 50).
Limits60 requests a minute on a test key, 300 on a live key.
Errors{ "error": { "code", "message", "request_id" } }. Code against error.code.

Stuck? Quote the request_id from the response and write toSansflow support.