Get Started
Developer API

Read your data
from your own systems.

A read-only API for your own products and orders, secured with API keys you create in the KopasAI app. There is no SDK to install: any HTTP client works.

API Reference

GET /open/me

Shows which business the key belongs to and which scopes it has. Works with any valid key.

GET /open/products

Products and stock: name, SKU, category, unit, price, stock and minimum stock. Needs the products:read scope.

GET /open/orders

Orders with channel, status, payment status, amounts and item count. Customer phone numbers, addresses and notes are never included. Needs the orders:read scope.

SOON write / webhooks

Not available yet: the API cannot create or change data, and it does not send webhooks.

list_products.sh
cURL
This is a real request. There is no official SDK yet; use cURL or any HTTP client.
curl https://api.amcoreai.com/api/v1/open/products?limit=20 \
  -H "Authorization: Bearer kop_sk_..."

# {"data":[{"id":"...","name":"...","price":15000,"stock":12,...}],
#  "meta":{"amountUnit":"IDR_MAJOR","truncated":false,"returned":20}}

Technical Specifications

ParameterValue
Base URLhttps://api.amcoreai.com/api/v1
AuthenticationAuthorization: Bearer kop_sk_...
Page sizelimit from 1 to 100, default 50
AmountsWhole rupiah (IDR_MAJOR): 15000 means Rp 15,000
Rate limit100 requests per 15 minutes per IP address

Error Handling

CodeMeaning
400limit is not a whole number from 1 to 100
401The API key is missing, wrong or revoked
403The key does not have the scope this endpoint needs
429Too many requests; wait and try again

What You Get Back

Every response is JSON with two parts: data holds the items and meta tells you how to read them.

  • • meta.amountUnit - always IDR_MAJOR, so you never have to guess the unit
  • • meta.truncated - true when there are more items than your limit
  • • meta.customerFieldsOmitted - on orders: customer personal data is left out on purpose

Tools & Help.

Any HTTP Client

cURL, fetch, Python requests: the API is plain HTTPS with a Bearer key.

Keys in the App

Create, name and revoke keys in the Developer API module of the KopasAI app.

Official SDKs

Coming soon. Until then, use the HTTP examples on this page.

Questions About the API?

Tell us what you want to build and we will help you get started.

Contact Us

API Keys

Shown once, revocable any time.

How KopasAI keeps your data →