Skip to main content
GET
List groups

Overview

Paginated list of the number’s groups.
Pagination uses an opaque cursor: send the nextCursor back as received for the next page. pageSize is 20 by default, with no maximum (a positive integer up to 9 digits). nextCursor is null only when the page has fewer items than pageSize — a last page with exactly pageSize items is followed by an empty page. The groups cursor (g1:) does not work for contacts.

Authorizations

Authorization
string
header
required

Secret Key

Path Parameters

channelId
string
required

Channel id

Example:

"58907809F0964E998D36C87F10EBA60C"

Query Parameters

pageSize
integer

Items per page. Default 20, no maximum, positive integer up to 9 digits.

Example:

20

cursor
string

Opaque cursor for the next page. Send back exactly the nextCursor you received.

Response

List groups

content
object[]
nextCursor
string | null

Next-page cursor. It is null only when the page has fewer items than pageSize; a last page with exactly pageSize items is followed by an empty page. The groups cursor (g1:) does not work for contacts.