# Updating Segments via API/Webhook

**URL:** <https://forum.mautic.org/t/updating-segments-via-api-webhook/6462>\
**Category:** General Discussion\
**Created:** [November 6, 2016, 4:52am UTC](https://forum.mautic.org/t/updating-segments-via-api-webhook/6462 "2016-11-06T04:52:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seedofabraham](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@seedofabraham](https://forum.mautic.org/u/seedofabraham)\
**Post date:** [November 6, 2016, 4:52am UTC](https://forum.mautic.org/t/updating-segments-via-api-webhook/6462/1 "2016-11-06T04:52:52Z")

</div>

I was reading the documentation for Mautic’s API and it states that segments are able to read and write, just as the contacts. Later, the documentation states that only the contacts are write accessible. Are we able to update the segments data from the API?  
  
  
  
[https://github.com/mautic/api-library](https://github.com/mautic/api-library)  
  
Forms - read only  
  
Contacts - read and write  
  
Segments - read and write  
  
Pages - read only

---

<div class="post-metadata">

**Author:** ![seedofabraham](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@seedofabraham](https://forum.mautic.org/u/seedofabraham)\
**Post date:** [November 6, 2016, 4:52am UTC](https://forum.mautic.org/t/updating-segments-via-api-webhook/6462/2 "2016-11-06T04:52:52Z")

</div>

I was reading the documentation for Mautic’s API and it states that segments are able to read and write, just as the contacts. Later, the documentation states that only the contacts are write accessible. Are we able to update the segments data from the API?

[https://github.com/mautic/api-library](https://github.com/mautic/api-library)  
Forms - read only  
Contacts - read and write  
Segments - read and write  
Pages - read only
