Create Design via API does not work!?

I tried exactly the PHP example on
https://developer.spreadshirt.net/display/API/Uploading+Designs+to+Spreadshirt+using+Spreadshirt+API+v1
but step 3 will raise up an error
HTTP/1.1 403 Forbidden
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 329
Cache-Control: max-age=0
Date: Sun, 04 Mar 2018 17:25:10 GMT
Connection: close
Timing-Allow-Origin: *

Access Denied

Access Denied

You don’t have permission to access “http://image.spreadshirtmedia.net/image-server/v1/designs/144840185?” on this server.


Reference #18.45d96b68.1520184310.e912340

What am i doing wrong? Why no access?

Hi,

these samples are bit outdated. You may review my pastebins in following post: https://www.spreadshirt.net/forum/t/aenderung-der-api-benutzung/793/7?u=lovetee

Despite of that, api will change in some months, as the endpoints are currently for old partner area only - so for accounts created before October 2016. Newer aren’t yet officially supported by api.

If you review my samples, you should be able to upload and place a design (for old Accounts).

Best
Thimo