This introduces the API flow. (DON'T MERGE, JUST REVIEW)

The variable wouldn't be defined unless we wanted to switch it off.