Skip to main content
The Shipfastai REST API gives you programmatic access to authentication, user management, billing, AI chat, retrieval-augmented generation (RAG), product checkout and download, API key management, and admin features. Every feature exposed in the product is backed by an HTTP endpoint, so you can integrate it into your own frontend or automate workflows from any HTTP client.

Endpoint groups

Base URL

All endpoints are prefixed with /api/. For example, the login endpoint is available at http://localhost:8000/api/auth/login.

Interactive docs

When running in development mode, the API server exposes two auto-generated documentation UIs:
  • Swagger UIhttp://localhost:8000/docs
  • ReDochttp://localhost:8000/redoc
Both UIs are generated directly from the live OpenAPI schema and let you make real requests against your local server.
The interactive docs are disabled in production by default (DEBUG=false). To enable them in a deployed environment, set DEBUG=true — but avoid doing this on public-facing production instances.

Authentication

All protected endpoints require a Bearer token in the Authorization header. You obtain a token by calling POST /api/auth/login.
See the Authentication guide for full details on obtaining and refreshing tokens.

Response format

Every response body is JSON. Successful responses return the resource or a confirmation message directly as the top-level object — there is no shared envelope wrapper.

Rate limiting

The API applies rate limiting to protect backend resources. The default limits are: When you exceed the limit, the API returns 429 Too Many Requests. You can configure the thresholds in your backend settings.

Error responses

The API uses standard HTTP status codes. All error bodies follow the same shape:
Common status codes you will encounter:

Example error response

For validation errors (422), FastAPI returns a more detailed structure that includes the specific field and error type: