Mapping endpoints to sites using siteid theme option.