php code to call the Redbooth (Teambox) api