Get all the segments
Retrieve all contact segments defined in your Brevo account with support for pagination and sorting. Results default to 10 segments per page (maximum 50) sorted in descending order of creation. Each segment includes its ID, name, category name, and last update timestamp.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Query parameters
limit
Number of documents per page
offset
Index of the first document of the page
sort
Sort the results in the ascending/descending order of record creation. Default order is descending if sort is not passed
Allowed values:
Response
Segments informations
count
Number of Segments in your account
segments
Listing of all the segments available in your account
Errors
400
Bad Request Error