Is it safe to get a sigmoidoscopy while pregnant?

Can be. But generally it depends on the trimester and the indications for the exam and how it is performed. If the need for a diagnosis to ensure no ill effects on the pregnancy than it should be done with full informing of OB and endoscopist. However, if the scope is not critical, it should be delayed. Again discuss with your doctors and be fully informed.