/catalog/item-version Endpoint doesn't work without token

While I was browsing through the API docs, I discovered that the /catalog/item-version endpoint doesn’t need any token.

But unfortunately the endpoint doesn’t work without token.

If I do this:

curl "https://api.envato.com/v3/market/catalog/item-version?id=5489609"

I get response:

{"error": "Missing or malformed API token: You need to provide an API token to access the API. The token must be a 32 character long alphanumeric string. See https://build.envato.com/api/#token", "reason": "missing-token"}

But if I do this:

curl "https://api.envato.com/v3/market/catalog/item-version?id=5489609" -H "Authorization: Bearer XXXXXXXXXXXXXXXXXX"

I get response:

{"wordpress_theme_latest_version":"9.7.3"}

So, basically the endpoint does not work without token. Possible bug?

Thanks for pointing this out @lotusy2; it’s actually a mistake in the documentation. We don’t allow unauthenticated requests. I’ll get this updated.

1 Like

This change has landed and the documentation now matches the expected behaviour.