List active segments
GET
/segments
Code sample: Shell / cURL
curl --request GET \ --url https://rocketem.fotone.io/api/v2/segments \ --header 'Authorization: Bearer <token>'Required scope: recipients:read
Returns all active segments with their name, type, and recipient count.
Authorizations
Abschnitt betitelt „Authorizations“Responses
Abschnitt betitelt „Responses“Segment list
Media typeapplication/json
object
data
Array<object>
object
id
Segment public_id
string
name
string
source_type
string
recipient_count
integer
last_calculated_at
string format: date-time
meta
object
total
integer
Example
{ "data": [ { "source_type": "connector" } ]}