Developer Docs
Agriloom API
Browse endpoints, try requests, and download the OpenAPI spec.
Quick info
- Base URL
- https://cerealsoko.co.ke/api
- Spec
- https://cerealsoko.co.ke/docs/openapi.yaml
Note: Swagger “Try it out” uses your browser session/cookies.
Health check
curl -s "https://cerealsoko.co.ke/api/health"
Should return a simple OK JSON.
Auth example
curl -s -X POST "https://cerealsoko.co.ke/api/auth/login" -H "Content-Type: application/json" -d '{"email":"you@example.com","password":"secret"}'
Adjust payload fields to match your environment.
Swagger UI
Explore and test endpoints from the OpenAPI spec.