API Reference
Everything You Need to Integrate with Stylique APIs
Explore a complete list of endpoints, parameters, request formats, and responses to help you build confidently and quickly.
Deep Dive into Our APIs
Below are our fully documented endpoints that power the core of Stylique. Each comes with detailed request formats, expected responses, and real use cases to make integration easy.
Authentication – POST /auth/login
Authenticate users via magic link. **Request Body**: ```json { "email": "user@example.com" } ``` **Response**: ```json { "status": "success", "message": "Magic link sent!" } ```
Get 3D Avatar – GET /avatar/me
Retrieve the user's saved avatar. **Headers**: ```http Authorization: Bearer <token> ``` **Response**: ```json { "avatarId": "123", "bodyShape": "slim", "skinTone": "medium" } ```
TRY ON Product – POST /tryon
Render a product on the user's avatar. **Body**: ```json { "productId": "shirt123", "avatarId": "123" } ``` **Response**: ```json { "status": "rendering", "previewUrl": "https://cdn.stylique.com/render/xyz" } ```
Ready to Shop
Smarter Than Ever?
Join thousands of smart shoppers who've discovered the confidence of knowing every purchase will be perfect.