API doesn't authenticate

I’m trying list all runners according REF, but it’s not working.

Bash command I’m using (this token is fake)

curl -X GET -H "PRIVATE-TOKEN: 4rfg54edfg6ujhy65tgf" "https://gitlab.com/Company/api/v4/runners/all"

Company is a GitLab group

Response I get

<html><body>You are being <a href="https://gitlab.com/users/sign_in">redirected</a>.</body></html>

What am I doing wrong?

Thanks for taking the time to be thorough in your request, it really helps! :blush: