Hi Alex,
are you using python? To authenticate, you need to include the access token in the headers, like it’s described here: REST Admin API reference (shopify.dev).
Alternatively, you can use the python api client: Shopify/shopify_python_api: ShopifyAPI library allows Python developers to programmatically access the admin section of stores (github.com)
All the best,
Michael