Authenticate in a machine-to-machine context

We have an integration flow that uses Zoom Api to read and write user information. Now I’m trying to migrate our current authentication flow away from JWT tokens. So I created a server-to-server oauth flow, but when I communicate with the api I get

{
    "code": 124,
    "message": "This API does not support client credentials for authorization."
}

How am I suppose to authenticate in a machine-to-machine context to be able to communicate with Zoom api?

@stefan.norinder what programming language are you using?
I might be able to provide some code samples to help

@chunsiong.zoom Thanks for you reply. The integration application is written in dotnet c#, but as a first step I’m trying to get it to work in Postman. Here’s the configuration:

Maybe I’m missing some header? For example, I’m not using account_id which was provided in the registration process.

With that said, I’d love some example code. Thanks in advance!

@stefan.norinder ,

Do check out the blog by my colleague

For the account_id, it is directly entered into the Access Token URL

Thanks @chunsiong.zoom. I had missed adding my account id to the Access Token Url. Now it works. (Confusing error message from Zoom though…)

For anyone else experiencing the same problem, the Access Token Url must look like this https://zoom.us/oauth/token?grant_type=account_credentials&account_id=<your_account_id>.

1 Like