Hey everyone,
I have a question about how to authenticate for the v1 purchase code API. For some background information, I’m trying to build into my service the ability to validate purchase codes.
I’m making a GET request to: http://marketplace.envato.com/api/edge/vital101/[API_KEY]:[PURCHASE_CODE].json but it keeps coming back with:
{
"error": "Username and/or API Key invalid.",
"code": "not_authenticated"
}
API_KEY is the personal key generated here (https://build.envato.com/create-token/). I don’t need the Oauth key because I don’t want the user to have to log in. I just need to validate that the purchase code is correct.
Since I’m getting the ‘not_authenticated’ error, I assume that my key is wrong. Any ideas?