Get Zoom token using curl

Hi Everyone.
I am trying to integrate Zoom in Laravel but I want to get a token using the curl command provided by Zoom documentation (server to server Oauth) and want everyone to create a meeting from one account I used in my website using that token.
When I run the command It gives me this error.

COMMAND: curl -X POST -d ‘grant_type=account_credentials’ -d ‘account_id={accountID}’ -H ‘Host:’ -H ‘Authorization: Basic Base64Encoded(clientId:clientSecret)’
I have changed the details and provided base65 encoded value.

“reason”: “Invalid client_id or client_secret”,
“error”: “invalid_client”

If anyone can help with this.
Thanks and regards

Hi @saylikhan97
Thanks for reaching out to us and welcome to our community,
Your command looks good to me and I just did some testing myself and I am able to generate a token with the same command.
Can you please make sure that your Server to Server OAuth app is activated and try again?

I can send you some details like screenshots etc If you can guide. I must have missed something.
Thanks and regards.

Hi @saylikhan97
I will send you a private message, please make sure to follow up with more details