Retrieve a list of segments associated with a specific OneSignal app. Useful for programmatically accessing segment metadata such as name, creation date, and status.
Your App API key with prefix Key
. See Keys & IDs.
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
The index to start returning segments from. Defaults to 0
. Segments are sorted by their creation date (created_at
) in ascending order.
The maximum number of segments to return. Default/Max: 300
. Ideal for controlling data volume in large-scale applications.
200
The response is of type object
.