I get "Authentication error" code 10000 when trying to upload image via api

I am trying to upload a picture via url, through the API, with a php code running on a DIFFERENT DOMAIN (for tests). The code is tested and functional on an other account.

I get code 10000, Authentication error

The script runs on an other domain than the one registered on Cloudflare, i think thats the root of the cause, how can i “enable” that domain too?

Thank you