> For the complete documentation index, see [llms.txt](https://help.whautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.whautomate.com/product-guides/whautomate-rest-api/segments.md).

# Segments

{% openapi src="/files/tfrMGAGmo2ZqmF0Snwt7" path="/v1/segments" method="get" %}
[Whautomate Rest API-Production-swagger.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FrzEnP2NfZ44XvfWCZUhV%2FWhautomate%20Rest%20API-Production-swagger.json?alt=media\&token=de5c290e-0ccd-422c-ba30-6871f7bace3d)
{% endopenapi %}

{% openapi src="/files/tfrMGAGmo2ZqmF0Snwt7" path="/v1/segments" method="post" %}
[Whautomate Rest API-Production-swagger.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FrzEnP2NfZ44XvfWCZUhV%2FWhautomate%20Rest%20API-Production-swagger.json?alt=media\&token=de5c290e-0ccd-422c-ba30-6871f7bace3d)
{% endopenapi %}

{% openapi src="/files/tfrMGAGmo2ZqmF0Snwt7" path="/v1/segments/{segmentId}" method="get" %}
[Whautomate Rest API-Production-swagger.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FrzEnP2NfZ44XvfWCZUhV%2FWhautomate%20Rest%20API-Production-swagger.json?alt=media\&token=de5c290e-0ccd-422c-ba30-6871f7bace3d)
{% endopenapi %}

{% openapi src="/files/tfrMGAGmo2ZqmF0Snwt7" path="/v1/segments/{segmentId}" method="delete" %}
[Whautomate Rest API-Production-swagger.json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FrzEnP2NfZ44XvfWCZUhV%2FWhautomate%20Rest%20API-Production-swagger.json?alt=media\&token=de5c290e-0ccd-422c-ba30-6871f7bace3d)
{% endopenapi %}
