dashboard_list_all_custom_segments
List All Custom Segments
Returns a list of all custom segments created by a business
Headers
- Type: string
Authorization requiredBearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
- Type: string
Accept requiredAdvertises which content types the client is able to understand
Responses
- Type: array object[]
200 - Type: string
created _at Date/time when the custom segment was created in the system, in ISO 8601 format
- Type: integer
custom _segment _id Unique ID of a custom segment. This is generated by Punchh.
- Type: string
description Description of the custom segment as given by the admin user when creating the custom segment
- Type: string
name Name of the custom segment as given by the admin user when creating the custom segment
- Type: string
updated _at Date/time when the custom segment was last updated in the system, in ISO 8601 format
- Type: object
401 - Type: string
error
get/api2/dashboard/custom_segments
[
{
"custom_segment_id": 1,
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]