List Groups
Retrieve a paginated list of contact groups (mailing lists) from your address book. This endpoint supports sorting and pagination to help manage large numbers of groups.
GET /addressbook/groups
Required Permission
read:GroupsYour API key must have this permission enabled in order to use this endpoint.
Example Request
curl --location 'https://<hostname>/addressbook/groups?sortField=created_on&sortDir=DESC&offset=0&limit=10' \
--header 'Authorization: Bearer YOUR_API_KEY'Replace YOUR_API_KEY with your API key.
Request Parameters
Field
Type
Required
Description
sortField
string
No
Field to sort by (e.g. created_on).
sortDir
string
No
Sort direction: ASC or DESC.
offset
number
No
Number of records to skip (for pagination).
limit
number
No
Maximum number of records to return.
Responses
Success (HTTP 200)
This endpoint supports sorting and pagination. See Search & Pagination Parameters for details.
Last updated