Apsuni API documentation

Base URL: https://api.apsuni.com/api/v1. Generate a key from the API Keys page and send it as a Bearer token on every request.

Getting started

The Apsuni API lets a third-party app search Apsuni's design catalogue, add a design to a cart and check out — the same catalogue and checkout flow Apsuni's own site uses. Base URL: https://api.apsuni.com/api/v1.

Authentication

Every request is authenticated with a single Bearer token: Authorization: Bearer apsk_live_… Keys are either live (apsk_live_) or sandbox (apsk_test_). A missing, malformed or revoked key returns 403 with a plain-English reason. Revoking a key takes effect on the next request.

Designs API

GET /designs/ searches the real design catalogue, with optional q (text search), type (web or mobile) and page parameters. GET /designs/{id}/ returns one published design.

Cart API

POST /cart/add/ with a design_id adds a design to the key owner's cart. On a sandbox key this is fully simulated.

Checkout API

POST /checkout/ completes an order for the designs in the cart and explains how pricing works.

Wallet API

GET /wallet/balance/ returns the wallet balance of the account that owns the key.

Errors and rate limits

Errors return JSON with a status code and a readable detail. Keep requests to a few per second while the API is young; proper 429 responses will follow.

Example

curl "https://api.apsuni.com/api/v1/designs/?q=portfolio&type=web" -H "Authorization: Bearer apsk_live_your_key_here"

Explore Apsuni