post https://{account}.piwik.pro/api/cdp/settings/v1/app//activation
Create new activation.
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Responses
Create new activation.
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
xxxxxxxxxx
12curl --request POST \
--url https://example.piwik.pro/api/cdp/settings/v1/app/app_id/activation \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"status": "active",
"trigger": "onjoin",
"multiple": true,
"multiple_user_ids": true
}
'
xxxxxxxxxx
52}
{
"id": "ca2f7459-e6e6-466b-a4a9-d9af89682c3b",
"name": "My activation",
"description": "Description of my activation",
"status": "active",
"trigger": "onjoin",
"audience": {
"id": "aaa1550f-b5a5-4626-a4ac-2f99ff8148fe",
"name": "My audience"
},
"required_consents": [
"ab_testing_and_personalization",
"remarketing"
],
"multiple": true,
"multiple_user_ids": false,
"created_at": "2020-07-14T13:30:07Z",
"updated_at": "2020-07-14T13:30:07Z",
"author": {
"email": "author@piwik.pro"
},
"is_author": false,
"type": "string",
"webhook_url": "https://domain.tld/path.php?c=param",
"webhook_body_attributes": [