Get all segments
Get a paginated list of all the created segments.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
24
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
A unique identifier obtained from Copilot for the System app in the fabric ecosystem, essential for OpenID Connect authentication flows.
A unique request ID.
Query Parameters
The maximum number of records per page.
1 < x < 100
The number of records to skip before returning records. For example, with an offset of 20 and limit of 10, you will get records from 21 to 30.
x > 0
The criteria to sort the results. Use the format {sort order}{field name}, where -
refers to a descending order and +
refers to an ascending order.
-updatedAt
, +updatedAt
, -name
, +name
Search for segments by partial match. It matches content in the name
field or any of the values in the values
array.
Response
The paginated response of segments.
Provides pagination data.
The segments list.
Was this page helpful?