I was also having the same problem as cellcore, where global API was working but not account ID / token getting the error: "Invalid domain".
I had missed the fact the page fabian linked to contained the solution but it was on the Cloudflare side following this:
"In order to use the new token...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.