Can you post that in a code block like this please? Otherwise the forum makes changes to it, messing up the quotation marks and such. Put ``` before and after
for domain in $(cat domains.txt); do \
curl -sX POST -H "X-Auth-Key: $CF_API_KEY" -H "X-Auth-Email: $CF_API_EMAIL" \
-H "Content-Type: application/json" \
"https://api.cloudflare.com/client/v4/zones" \
--data '{"name":"'$domain'","account":{"id":"'$CF_ACCOUNT_ID'"},"jump_start":true,"type":"full"}' | tee -a result.txt; done