List all consent groups

Returns a paginated list of consent groups for the account. <Note>This endpoint is only available when the Consent Groups feature is enabled for your account. Returns `403` if the feature is not activated.</Note>

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Query parameters

limitlongOptional0-50Defaults to 10

Maximum number of results to return (default 10, max 50)

offsetlongOptional>=0Defaults to 0

Number of results to skip (default 0)

idlongOptional
Filter by consent group ID
namestringOptional

Filter by name (case-insensitive partial match)

signupModeenumOptional
Filter by signup mode
Allowed values:

Response

Paginated list of consent groups
consentGroupslist of objects
List of consent groups matching the filter
totallong
Total number of consent groups matching the filter
limitlong
Maximum number of results returned
offsetlong
Number of results skipped

Errors

400
Bad Request Error
403
Forbidden Error
429
Too Many Requests Error