I have created a sandbox in our company's zendesk account. I am not the admin but the account that I used to create the sandbox has admin priviliges. I created API key in that sandbox. Then i tried curl command to hit the query api (api/v2/requests/search.json?query=) on the sandbox instance(obviously using the sandbox subdomain) but I am getting error "Could not authenticate you". If i hit the production instance with a production instance api, it works, which means my curl command syntax is correct.
What am i doing wrong? Can the sandbox instance be accessed via the api?
Hey there,
Can you confirm that token access is enabled in your sandbox? You'd be able to see this under channels > api in the admin settings.
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy