Simplify API endpoint.