This grant type is only provide to 'trusted' clients where the application and the communication to the kazi api is running server side. By using the grant type, the client id of the application is linked to one specific kazi account and will only have access to data registered by this account. There is no way to get data from another account using this grant type.
How to connect with kazi using client credentials grant type
Below you can find information how to connect to the kazi API using the client credentials grant type flow.
This basically follows the general OAuth2 client credentials grant type flow, the only difference is that you also need to specify the resource, which is the application id of the kazi api in Azure AD.