Head over your account settings to generate a Personal API key.Please note that only the owner and admin roles with “Public API” permissions can generate a key and use this API.You should then use this API key as a Bearer Token:
Testing communication
Once you have your key, you can run the following command in a shell to ensure that you’re all set: