Have endpoint for /api