List a profile’s consent changes
Every change of the person’s marketing consent, newest first, with its source and proof. The latest change per channel is the person’s consent.
GET
Every change of the person’s marketing consent, newest first, with its source and proof. The latest change per channel is the person’s consent.
apiKey readheader
AuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*stringFormat
uuidpage?integerStarts at 1
Range
1 <= valueDefault
1pageSize?numberOne of 10, 25, 50, 100
Default
25channel?stringComma-separated, any of: email, sms
OK
application/json- response
items*array<>total*integerpage*integerpageSize*integercurl -X GET 'https://api.postforge.dev/v1/profiles/497f6eca-6276-4993-bfeb-53cbbbba6f08/consent'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "channel": "email", "state": "subscribed", "source": "shopify", "store": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "address": "string", "proof": { "ip": "string", "userAgent": "string", "userId": "string", "apiKeyId": "string", "reference": "string" }, "by": "string", "occurredAt": "2019-08-24T14:15:22Z", "recordedAt": "2019-08-24T14:15:22Z", "writeBacks": [ { "store": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "status": "pending", "skipReason": "already_current", "error": "string", "doneAt": "2019-08-24T14:15:22Z" } ] } ], "total": 0, "page": 0, "pageSize": 0}