Use an administrator OAuth access token. We validate it with Zendesk before granting access.
In Zendesk Admin Center → Apps and integrations → APIs → OAuth clients, create a confidential OAuth client. Use the client credentials grant from your own trusted terminal:
curl https://YOUR_SUBDOMAIN.zendesk.com/oauth/tokens -H 'Content-Type: application/json' -d '{"grant_type":"client_credentials","expires_in":1800,"client_id":"YOUR_IDENTIFIER","client_secret":"YOUR_SECRET","scope":"tickets:read tickets:write users:read groups:read account_settings:read apps:read webhooks:read webhooks:write triggers:write"}'Copy only the returned access_token below. Keep your client secret private.