Moved to client/api to ba able to make api calls from pot.