I am using a token with grant_type client_credentials to GET a user using the endpoint api/v2/users-by-email, everything looks right and this is not the first time I use this endpoint with clientID, but the API is returning a Bad Request:
I doubled check my requests and I am sure that the bearer token is provided. Tested either with curl and Postman, both with the same error. The latter I’ve tested using the header and the authorization tab.
Is there something I can look into the token to be sure that it is correct?
It is something like this, as the documentation examples:
{
“access_token”: “eyJ…Ggg”,
“expires_in”: 86400,
“scope”: “read:clients create:clients read:client_keys”,
“token_type”: “Bearer”
}