🎉 VIPLOGS API Documentation
📍 Base URL
https://www.viplogs.com/api/v1
🔐 Authentication
All requests must include the following headers:
Authorization: Bearer <token> Accept: application/json
🚀 Endpoints
GET /products
curl --location -g 'https://www.viplogs.com/api/v1/products' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <token>'
GET /categories
curl --location -g 'https://www.viplogs.com/api/v1/categories' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <token>'
GET /categories/products
curl --location -g 'https://www.viplogs.com/api/v1/categories/{id}/products' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
GET /balance
curl --location -g 'https://www.viplogs.com/api/v1/wallet-balance' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <token>'
GET /products/{id}
curl --location -g 'https://www.viplogs.com/api/v1/products/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
GET /products/{id}/details
curl --location -g 'https://www.viplogs.com/api/v1/products/{id}/details' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
POST /order
curl --location 'https://www.viplogs.com/api/v1/order' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"product_details_ids": [42863]
}'
📝 Notes
- Replace
{id}with the actual product ID. - All endpoints return HTTP response codes (some with no body).
- Ensure you use a valid bearer token to avoid
401 Unauthorized.