How to consume REST API (swagger)

Where did you get the bearer token from?
I recommend, especially when using apps like postman, to setup an oAuth2 flow.
Similar to what you tried here:

1 Like