API Reference
Complete endpoint documentation with request/response schemas.
New to OK Capsule API?
This reference is for clients who already have an account, brand, and API credentials set up.
If you are new to the OK Capsule API, start with the Getting Started guide first. Account and brand setup should be completed before contacting OK Capsule about API credentials.
Interactive Documentation
→ Open Interactive API Reference
The Swagger UI provides:
- Try-it-out functionality for all endpoints
- Full request/response schemas
- Authentication testing
- Example payloads
Endpoint Categories
| Category | Description |
|---|---|
| Authentication | Token management |
| Orders | Create and manage orders |
| Consumers | Customer management |
| Products | Product catalog |
| Fulfillments | Shipping and tracking |
| Assemblies | Pre-built bundles |
| Product Lines | Brand management |
Environments
| Environment | Swagger URL |
|---|---|
| Production | api2-docs.okcapsule.app |