Creating a storefront api token

Hi, I am having some issues with creating a storefront api token. I have been talking with the support team and they are not able to assist me as everything seems correct on their end.

I am getting a 400 invalid_request error using the client credentials grant flow, I have attached my postman set up without the secret key. I am copy and pasting all the keys to make sure there are not errors but the thing is my client secret starts with shpss_. which according to support this shouldn’t be the case. I have tried rotating it and creating a new one but still the same error. If someone could assist me that would be great.

Thank you in advance.

That URL is for an Admin API token, not storefront. Once you have an access to the Admin API you can use the following:

Or install the Hydrogen app.

Hi Luke, thank you for your response. So I need to use a different URL? Where can I find the URL for the storefront instead of admin?