A general guideline for most veterinarians is that if the object cannot be retrieved within 45 minutes, surgery is necessary.
Home Care and Prevention – After Canine Endoscopy
After an endoscopic procedure, there is no surgical incision to care for and there is typically no pain associated with the procedure. Make sure your dog is able to eat and drink without vomiting. If any vomiting or lack of appetite occur, contact your veterinarian.
The best way to prevent an endoscopic procedure is to prevent ingestion of foreign objects. Do not let your dog play with small items that could easily be swallowed.