Pull consent api endpoint to instance variable