Use the correct endpoint