Access tokens are header-based credentials that replace both basic auth and IP whitelisting for authenticating your API and content requests to Icecat – you generate, rotate, and revoke them yourself via My Icecat, with no support tickets or server-side IP configuration needed.
To receive and rotate your access tokens:
There are two types of tokens in Icecat:
Replaces Basic Auth (usually, login and password) and IP whitelisting. Always passed as a header.
The list of assets that support api-token as authentification method:
app_key)Replaces Basic Auth (usually, login and password) and IP whitelisting for Multimedia and Gallery.
Further, the Icecat team checks if the usage of tokens conforms to the subscriptions of a user. Additionally, the team will monitor suspicious tokens and revoke tokens, if necessary.
Icecat also used to offer a static app_key token for the Full Icecat users to access content in JSON format.
⚠️ Considered a legacy authentification method. Please consider switching to dynamic tokens.
api_token. Furthermore, Icecat supports backward compatibility. So, we still process those calls made without tokens as usual by comparing the IP address of the request to IPs in a whitelist.
In contrast, calls with Access Tokens will not be validated by checking the IP address against the whitelist. Therefore, no additional configuration is required for existing client implementations.
Here is an example of the use of an API Access Token:
curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?product_id={product_id};lang={short_code};output=productxml' \
--header 'Api-Token: {your_api_token}' curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?lang={langcode}&prod_id={mpn}&vendor={brandName}&output=productxml' \
--header 'Api-Token: {your_api_token}' curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?ean_upc={gtin}&lang={langcode}&output=productxml' \
--header 'Api-Token: {your_api_token}' Of course, you get an error if you send a non-existing or revoked API token to Icecat.
Here an example of the use of a Content Access Token at the end of the URL:
https://icecat.com/objects/1234567890.mp4?content_token={your_content_token} In case you send a Content token together with API token, we will add the Content token to all media asset URLs. Below, is a code example:
curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?product_id={product_id};lang={short_code};output=productxml' \
--header 'Api-Token: {your_api_token}' \
--header 'Content-Token: {your_content_token}' curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?lang={langcode}&prod_id={mpn}&vendor={brandName}&output=productxml' \
--header 'Api-Token: {your_api_token}' \
--header 'Content-Token: {your_content_token}' curl --location --request GET 'https://data.icecat.biz/xml_s3/xml_server3.cgi?ean_upc={gtin}&lang={langcode}&output=productxml' \
--header 'Api-Token: {your_api_token}' \
--header 'Content-Token: {your_content_token}' German online stores are losing visibility in Google search as AI-generated answers take a larger…
TikTok Shop is expanding cross-border ecommerce between the European Union and the United Kingdom, allowing…
Release 258 gives brands more control over how their product imagery reaches each partner and…
Google is expanding the infrastructure behind agentic commerce, adding support for Universal Commerce Protocol (UCP)…
Icecat PIM 3.17.0 is here and a more exciting 3.18.0 is on its way! This…
Apple has introduced its first foldable smartphone, marking one of the biggest changes to the…