Sitecore Content Hub One is a brand new headless CMS part of Sitecore’s Content Cloud. I recently got access to a demo instance and tried out all the new features. You can find the blog here and hopefully it will give you a nice introduction to Content Hub One.
The documentation is really concise however I was having an issue trying to generate an authentication token to use the Content Management API.

I followed all the steps but I just kept getting back a 401 – Unauthorised. I decided to raise a ticket and support came back to me with some additional info. The steps are clear, however they are missing some important details – https://doc.sitecore.com/ch-one/en/developers/content-hub-one/content-management-api–authentication.html
Hopefully the below will help anyone else out that is trying to use the Content Management API.
As I was only testing out the API the easiest way was to use Postman for the queries. Create a new POST request to the following URL.
POST - https://auth.sitecorecloud.io/oauth/token
Click on the body tab and select x-www-form-urlencoded

Add the following key value pairs (client id and secret are in your CH One instance – https://content.sitecorecloud.io/clients
client_id - Taken from CH ONE
client_secret - Taken from CH ONE
audience - https://api.sitecorecloud.io
grant_type - client_credentials
That’s all you need to do to get a OAuth token for Content Hub One. Hope this helps anyone that is trying out Content Hub One with generating a token.








Leave a Reply