Kardashian wrote that she had \"a whole new understanding and respect for mamas who have had to fight for their babies while pregnant.\"

\"Praise be to God. Walking out of the hospital with my baby boy in my tummy and safe was the truest blessing,\" she concluded.

Barker took to X, formerly Twitter, writing, \"God is great.\"

\"I flew home for a life-threatening emergency surgery for our baby that I'm so grateful went well. I want to say thank you for all the support,\" he continued, adding that Blink-182's tour, which they paused for Barker's family emergency, \"resumes Friday.\"

Fetal surgery is a procedure performed on a fetus in utero, often to address life-threatening abnormalities or birth defects, according to research available in the National Library of Medicine.

There are risks involved with each procedure, including fetal death, complications, early labor and potential failure to treat the birth defect.

\"PHOTO:
Phillip Faraone/Getty Images for GQ, FILE
PHOTO: FILE - Travis Barker and Kourtney Kardashian Barker attend the GQ Men of the Year Party 2022 at The West Hollywood EDITION, Nov. 17, 2022 in West Hollywood, Calif.
>

Kardashian's update comes days after her husband's band, Blink-182, announced they were postponing dates for the European leg of their current tour due to an \"urgent family matter\" for the drummer.

The band, which also consists of members Mark Hoppus and Tom DeLonge, issued a statement on their Instagram story on Sept. 1, writing, \"Due to an urgent family matter, Travis has had to return home to the States.\"

Kardashian and Barker announced in June that they were expecting their first child together. Kardashian surprised her husband at Blink-182's tour stop in Los Angeles, holding up a sign that read, \"Travis I'm Pregnant.\"

Kardashian is already a mom of three: daughter Penelope and sons Reign and Mason, whom she shares with ex Scott Disick.

Barker is dad to daughter Alabama, son Landon and stepdaughter Atiana, whom he shares with ex-wife Shanna Moakler.

","canonicalUrl":"https://abcnews.com/GMA/Culture/kourtney-kardashian-urgent-fetal-surgery-doctors-saving-babys/story?id=102976308","legacySlug":"/culture/story/kourtney-kardashian-urgent-fetal-surgery-doctors-saving-babys-102976308","noIndexNoFollow":false},"publishTime":"20:58","publishDate":"09-06-2023","updatedTime":"12:24","updatedDate":"09-07-2023","socialImage":{"alt":"Travis Barker and Kourtney Kardashian Barker attend the GQ Men of the Year Party 2022 at The West Hollywood EDITION, Nov. 17, 2022 in West Hollywood, Calif.","credit":"Phillip Faraone/Getty Images for GQ, FILE","ratio":"16x9","url":"https://s.abcnews.com/images/GMA/kourtney-kardashian-travis-barker-gty-moe-035-230905_1694029938847_hpMain_16x9_1600.jpg","width":992,"height":558},"datePublished":"9/6/2023 20:58:00 GMT","video":{"live":false,"id":102976308,"headline":"Kourtney Kardashian had 'urgent fetal surgery'","mediaAssetTitle":"KOURTNEY KARDASHIAN GMA","description":"\"I will be forever grateful to my incredible doctors,\" Kardashian said. ","duration":"1:00","posterImg":{"url":"https://s.abcnews.com/images/GMA/default-img-undefined.png","width":608,"height":342},"video":{"feed":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2022/04/220417_gma_digital_hbd_kourtney_k_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8"},"playlist":["86187367","100161772","102865017"]},"relatedItems":[{"contentType":"story","date":"July 5, 2022","headline":"Travis Barker talks about 'life-threatening pancreatitis': Here are the symptoms ","section":"culture","slug":"/culture/story/travis-barker-opens-life-threatening-pancreatitis-symptoms-watch-86187367","id":86187367,"image":{"alt":"Travis Barker talks about 'life-threatening pancreatitis': Here are the symptoms ","url":"https://s.abcnews.com/images/GMA/travis-barker-pancreatitis-01-gty-llr-220704_1656957956040_hpMain_4x3t_240.jpg","credit":"Emma Mcintyre/Getty Images, FILE","ratio":"1x1"}},{"contentType":"story","date":"June 17, 2023","headline":"Kourtney Kardashian announces she is pregnant with Travis Barker at Blink-182 concert","section":"culture","slug":"/culture/story/kourtney-kardashian-announces-pregnant-travis-barker-blink-182-100161772","id":100161772,"image":{"alt":"Kourtney Kardashian announces she is pregnant with Travis Barker at Blink-182 concert","url":"https://s.abcnews.com/images/GMA/kardashian-1-ap-er-220405_1649180214036_hpMain_4x3t_240.jpg","credit":"Jordan Strauss/Invision/AP, FILE","ratio":"1x1"}},{"contentType":"story","date":"September 1, 2023","headline":"Travis Barker's 'urgent family matter' sees Blink-182 postpone European tour dates","section":"culture","slug":"/culture/story/travis-barkers-urgent-family-matter-blink-182-postpone-european-tour-102865017","id":102865017,"image":{"alt":"Travis Barker's 'urgent family matter' sees Blink-182 postpone European tour dates","url":"https://s.abcnews.com/images/GMA/travis-barker-gty-lv-230901-2_1693583633167_hpMain_4x3t_240.jpg","credit":"Axelle/Bauer-Griffin/FilmMagic via Getty Images, FILE","ratio":"1x1"}}],"relatedContentSection":"news","schemaContent":{"name":"Kourtney Kardashian had 'urgent fetal surgery'","description":"\"I will be forever grateful to my incredible doctors,\" Kardashian said. ","duration":"1:00","uploadDate":"09-06-2023","publication":"09-06-2023","images":"https://s.abcnews.com/images/GMA/default-img-undefined.png","url":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2022/04/220417_gma_digital_hbd_kourtney_k_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","contentUrl":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2022/04/220417_gma_digital_hbd_kourtney_k_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","link":"https://www.goodmorningamerica.com/culture/story/kourtney-kardashian-urgent-fetal-surgery-doctors-saving-babys-102976308"}},"playlist":[{"id":"132054443","contentType":"story","section":"news"},{"id":"132054798","contentType":"story","section":"news"},{"id":"132033010","contentType":"story","section":"news"},{"id":"131912713","contentType":"story","section":"news"},{"id":"131830583","contentType":"story","section":"news"},{"id":"131834976","contentType":"story","section":"news"},{"id":"131554765","contentType":"story","section":"news"},{"id":"131554815","contentType":"story","section":"news"},{"id":"131543053","contentType":"story","section":"news"},{"id":"131432442","contentType":"story","section":"news"},{"id":"131121474","contentType":"story","section":"news"},{"id":"131247079","contentType":"story","section":"news"},{"id":"131228784","contentType":"story","section":"news"},{"id":"131178806","contentType":"story","section":"news"},{"id":"131142257","contentType":"story","section":"news"},{"id":"131046664","contentType":"story","section":"news"},{"id":"131048076","contentType":"story","section":"news"},{"id":"131033212","contentType":"story","section":"news"},{"id":"130999943","contentType":"story","section":"news"},{"id":"130971027","contentType":"story","section":"news"}],"kvps":{"pgtyp":"article","lang":"en","sp":"goodmorningamerica","programmatic":"true","bundleId":"com.abcnews"}},"analytics":{"accountID":"wdgnewwdgnewgmaweb","ns":"gma","pageName":"gma:culture:video","pageType":"video","globalSpecVersion":"v1.08","siteDifferentiator":"gma:site","tagID":"g_page01","userABCookie":"0","section":"culture","title":"Kourtney Kardashian had 'urgent fetal surgery'","pubTime":"16:58","pubDate":"09-06-2023","modTime":"08:24","modDate":"09-07-2023","taxonomyTags":"none","id":102976308,"editorialOtherSubjects":"","wordCount":"none","columns":"none","authors":"","authorsUnit":"none","authorsBureau":"none","subBrand":"Good Morning America","provider":"Good Morning America","videoName":"Kourtney Kardashian had 'urgent fetal surgery'","mediaAssetTitle":"KOURTNEY KARDASHIAN GMA","videoId":102976308,"mediaOnPage":"video","legacySlug":"/culture/story/kourtney-kardashian-urgent-fetal-surgery-doctors-saving-babys-102976308"},"taboola":{}},"request":{"headers":{},"httpVersion":"1.1","method":"GET","url":"/video/102976308","vary":{"host":"www.goodmorningamerica.com","cached":true,"path":"/video/102976308","forwarded-proto":"https","device":"desktop","userab":"0"}},"viewport":{"width":1260,"height":0},"user":{}};