This API offers a picture storage and file storage.

Internally, we use it for product pictures and product files — but it can just as well support any custom assets.

This is a REST API. There are two endpoints:

  1. Sandbox endpoint for sandbox accounts:

  2. Production endpoint for all other accounts:


  1. Make a verifyUser call to Erply API. From the response, obtain field "token". It is a JSON Web Token.

  2. Pass the token to CDN API to obtain a CDN session key. (This is different from the "session key" used in other APIs.)
    curl -L -X POST ''
  3. API responds with a CDN session key:
    "sessionKey": "IM2I+TR1St"
  4. Add the session key to subsequent requests as header "API_KEY".