endpoints for case