Having issue accessing the Discourse APIs from react app

Is it a User API Key? If I’m not wrong, it should be User-Api-Key.