Skip to content

Developer overview ​

SieuTroLy offers a public REST API v1 (server-to-server) and an MCP server so external systems and AI agents can work with one workspace's data: orders, products, stock, purchasing, customers, conversations, workflows, content posting, deliveries and KiotViet.

Base URLhttps://api.sieutroly.ai/api/public/v1
MCPhttps://api.sieutroly.ai/api/mcp
FormatJSON (UTF-8), ISO 8601 times (UTC), amounts in VND (integers)
Data scopeExactly one workspace: the API key's workspace

Authentication ​

Create a key in app.sieutroly.ai → API Key → Create API Key and choose its scopes. The sk_live_… key is shown once.

http
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
bash
curl https://api.sieutroly.ai/api/public/v1/whoami -H "Authorization: Bearer $API_KEY"

Call the API from your server only — never ship the key in a browser or mobile app.

Errors and rate limits ​

Errors look like { "error": { "code": "invalid_request", "message": "…" } }. Limits are per key per minute (default 60, max 600); every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and 429 responses include Retry-After.

INFO

The full reference (scopes, endpoints, webhooks, MCP tools, KiotViet) is currently in Vietnamese: Nhà phát triển. Field names, endpoints and JSON examples are the same in both languages.

Last updated: