Send get request with the web component using a token

when I want to make a get call it appears that an authorization token is required, I think it is an id that I already have at my disposal, the problem is that I don’t know what I have to do with that id… do I have to write it in a block? in which?