How create auth via token?

There is a page, which available only after registration. But there is no way to login.
So I wish to get access to this page using auth token.

I added to codecept.json:
“REST”: {
“endpoint”: “https://mysite.com/api/v1/auth/check/”,
“defaultHeaders”: {
“authorization”: “token 67ad9c63ab09600d58f87358ddf14a0ae1d32833”
}

And in test I just go to requred URL. But it does not work.

What I do wrong?