Get group membership count

GET https://{{contactPolicyBaseURL}}/v1/groups/:groupId/members/count?channel=<string>

Queries a given group for the count of consent records.

Request Params

KeyDatatypeRequiredDescription
channelstringIf specified, the count will be restricted to the amount for a specific channel.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring

RESPONSES

status: OK

{&quot;optedIn&quot;:&quot;\u003cinteger\u003e&quot;,&quot;optedOut&quot;:&quot;\u003cinteger\u003e&quot;}