# KiriminAja Developer Portal > KiriminAja's developer documentation and sandbox portal for integrating Indonesian shipping services. Explore the Mitra API, compare courier rates, create and simulate shipments, schedule pickups, track deliveries, and integrate COD and non-COD payments. Base URL: https://developer.kiriminaja.com/ This project is a web portal and documentation application, not the upstream shipping API itself. The public OpenAPI document is the authoritative source for API methods, paths, parameters, authentication, schemas, examples, deprecations, and webhook payloads. Fetch the current document before generating integration code; this summary does not replace it. ### Portal capabilities - Public interactive API reference powered by Scalar, with guides, request examples, reusable models, and webhook documentation. - Cmd/Ctrl+K search across published operations, guides, webhooks, and models. - Sandbox access through KiriminAja account sign-in using OAuth authorization code with PKCE. The authenticated order simulator is available at `/simulation`, optionally followed by an order ID. `/login` redirects to the homepage sign-in flow; `/register` directs users to KiriminAja account sign-in or registration. - A restricted administrator workspace for visually editing OpenAPI, editing YAML, validating drafts, previewing documentation, importing static cURL/fetch examples, and publishing approved changes to GitHub. Administrator sign-in uses Microsoft Entra and is separate from sandbox OAuth. Admin routes and draft previews are not public documentation sources. - Shared light/dark appearance for the portal and API reference, plus copyable cURL, JavaScript, and JSON homepage examples. ### Shipping API overview - Coverage: resolve province, city, district, and subdistrict IDs; search addresses. - Pricing: compare express and instant courier rates before placing orders. - Orders: create, track, and cancel express or instant shipments. Prefer the current documented operations over deprecated endpoints. - Pickup: retrieve available courier pickup schedules. - Payments: inspect payment status, check KA Credit balance, and validate a payment PIN where applicable. - Utilities: discover couriers, groups, service codes, and service preferences. - Webhooks: configure callbacks and receive express or instant shipment events. ### Integration guidance - Sandbox API base URL: `https://tdev.kiriminaja.com`. - Production API base URL: `https://client.kiriminaja.com`. - Shipping API authentication: `Authorization: Bearer `, with `Accept: application/json` and `Content-Type: application/json` as documented. Do not confuse a shipping API key with portal OAuth or administrator sessions. - Resolve coverage IDs, request pricing, select a returned courier/service, create the shipment, and follow tracking or webhook events. AWB (air waybill) assignment can be asynchronous. - Discover courier availability and service codes dynamically; sandbox and production may differ. Use returned pricing and service metadata rather than hard-coded courier assumptions. - Package weights are in grams and dimensions in centimeters. Preserve documented distinctions between express and instant request/response shapes, HTTP status codes, and application-level status codes. - Treat example and simulated responses as illustrations, not guarantees of live courier behavior. Follow the current specification for COD, insurance, KA Credit, payment, and PIN rules. - Handle HTTP 429 with backoff. Avoid rapid repeated tracking or coverage requests, and never include real credentials, PINs, or customer details in shared examples. ### Project architecture - Nuxt 4 and Vue 3 with TypeScript, Nuxt UI 4, Tailwind CSS 4, Pinia, and a Nitro server; Bun 1.4+ is used for development, tests, builds, and production execution. - Scalar renders the API reference. CodeMirror 6 provides YAML editing. OpenAPI validation uses Swagger Parser and YAML tooling. MongoDB optionally stores the administrator directory. - `content/openapi.yaml` is the editable OpenAPI 3.1 source. No separate TypeScript documentation generator or standalone mock server is used. Public specification routes read the published GitHub source when configured, with the bundled document used for unconfigured or initial missing-file bootstrap cases; other upstream failures are surfaced. - `pages/`, `layouts/`, and `components/` implement the portal UI. `composables/`, `stores/`, and `services/` contain shared client behavior, state, and service integrations. `server/` implements authentication, the bounded sandbox proxy, specification delivery, validation, and restricted publishing. `tests/` contains the Bun test suite. - Common repository commands: `bun install`, `bun run dev`, `bun run test`, `bun run lint`, `bun run typecheck`, and `bun run build`. See the repository's `README.md` and `.env.example` for setup and deployment configuration. Keep private settings server-side. ## API documentation - [ARD manifest](https://developer.kiriminaja.com/.well-known/ard.json): ARD v0.91 entries for the public OpenAPI reference and read-only documentation skill. - [Documentation skill](https://developer.kiriminaja.com/agents/SKILL.md): Integration guidance and optional experimental browser WebMCP tools for finding and reading published documentation. No remote MCP server or shipping execution. - [OpenAPI YAML](https://developer.kiriminaja.com/openapi.yaml): Canonical machine-readable specification, including integration guides, operations, schemas, authentication, examples, and express/instant webhooks. Start here for API implementation details. - [OpenAPI JSON](https://developer.kiriminaja.com/docs/openapi/json): JSON representation of the published specification for programmatic tools and integrations. - [Interactive API reference](https://developer.kiriminaja.com/docs): Human-facing Scalar documentation generated from the published specification. - [Developer homepage](https://developer.kiriminaja.com/): Overview, SDK discovery, request examples, and entry point for sandbox sign-in. ## Optional - [KiriminAja application](https://app.kiriminaja.com): Account dashboard and KA Credit management. - [PHP SDK](https://github.com/kiriminaja/php): Official PHP integration library. - [Node.js SDK](https://github.com/kiriminaja/node): Official Node.js integration library. - [Go SDK](https://github.com/kiriminaja/go): Official Go integration library. - [Python SDK](https://pypi.org/project/kiriminaja/): Official Python package. - [Ruby SDK](https://rubygems.org/gems/kiriminaja): Official Ruby gem.