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
Key | Datatype | Required | Description |
---|---|---|---|
channel | string | If specified, will only return history records for consumers on a particular channel. | |
address | string | If specified, will only return history records for all channels containing the address, if found. | |
format | string | Response content-type. | |
pageSize | number | The amount of results to return with the next page. Maximum allowed value is 1000. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string |
RESPONSES
status: OK
[{"address":"\u003cstring\u003e","channel":"\u003cstring\u003e","consent":"\u003cboolean\u003e","reason":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","expires":"\u003cstring\u003e"},{"address":"\u003cstring\u003e","channel":"\u003cstring\u003e","consent":"\u003cboolean\u003e","reason":"\u003cstring\u003e","timestamp":"\u003cstring\u003e","expires":"\u003cstring\u003e"}]