Unfortunately, you cannot create a Sell OAuth access token via API in Zendesk. By design, there is no endpoint available to programmatically create API tokens. Zendesk primarily uses OAuth tokens for API authentication.
If you need to create API tokens, this must be done through the Zendesk interface by an administrator. Users can generate their own API tokens by navigating to 'My Profile' > 'API' and creating a new token. Administrators can also create tokens for users by managing their API token settings in the user's profile.
Creating a Sell OAuth access token in Zendesk is straightforward. First, log in to your admin account on Zendesk. Then, navigate to Sell on the sidebar and click on Settings. From there, go to Integrations, then OAuth, and finally Access Tokens….
Sell OAuth tokens and non-Sell OAuth tokens in Zendesk serve different purposes. The Sell OAuth access token is specifically for use within the Zendesk Sell environment, while non-Sell OAuth tokens are created in the Admin Center for other…