> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/queries/subscription-segments.md).

# subscriptionSegments

List subscription segments synchronized for the current project. For Customer Portal Liquid conditions, use enabled Klaviyo segment names or external IDs with subscription.segments.

### Arguments

| Argument                                                                                                         | Description                                                             |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| source ([SubscriptionSegmentSourceEnum](/graphql-api/api-reference/objects/subscription-segment-source-enum.md)) | Only list segments synchronized from this source.                       |
| enabled ([Boolean](/graphql-api/api-reference/objects/boolean.md))                                               | Only list segments with this synchronization state.                     |
| after ([String](/graphql-api/api-reference/objects/string.md))                                                   | Returns the elements in the list that come after the specified cursor.  |
| before ([String](/graphql-api/api-reference/objects/string.md))                                                  | Returns the elements in the list that come before the specified cursor. |
| first ([Int](/graphql-api/api-reference/objects/int.md))                                                         | Returns the first *n* elements from the list.                           |
| last ([Int](/graphql-api/api-reference/objects/int.md))                                                          | Returns the last *n* elements from the list.                            |
