List segments
Return a list of segments from your tenant.
Request
- Base URLhttps://app.amperity.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A supported version of the Amperity API. You may use the api-version request header instead of the api_version request parameter.
Set this value to true to include a total count of all results. Default value: false. Obtaining the total count of all results can be an expensive operation when there is a high number of pages in the results set.
The maximum number of records to include in a single page of results.
An opaque token that is used to paginate results. Omit the next_token property to return the first page. Use the cursor value for next_token that was returned in a response to view the next page of results. The value cannot be empty.
Headers
The ID for the tenant to which a request will be sent.
A supported version of the Amperity API.
Response
List of segments
Example response
{
"data": [
{
"id": "mx-seg-21HCWon6Y",
"name": "Washington Purchasers",
"status": "activated"
}
],
"next_token": "ZVEy1iwsKBs9a6H"
}Changes
No recorded changes to this operation across all 1 revision of this API.