Get group consumer history

GET https://{{contactPolicyBaseURL}}/v1/groups/:groupId/history?channel=<string>&address=<string>&format=JSON&pageSize=50

Returns the complete history of all additions and updates to consumer consent for a given group, optionally filtered by consumer.

Request Params

KeyDatatypeRequiredDescription
channelstringIf specified, will only return history records for consumers on a particular channel.
addressstringIf specified, will only return history records for all channels containing the address, if found.
formatstringResponse content-type.
pageSizenumberThe amount of results to return with the next page. Maximum allowed value is 1000.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring

RESPONSES

status: OK

[{&quot;address&quot;:&quot;\u003cstring\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;consent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cstring\u003e&quot;,&quot;expires&quot;:&quot;\u003cstring\u003e&quot;},{&quot;address&quot;:&quot;\u003cstring\u003e&quot;,&quot;channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;consent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cstring\u003e&quot;,&quot;expires&quot;:&quot;\u003cstring\u003e&quot;}]