Get Campaign Notifications
curl --request GET \
--url https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"enabled": true
}Campaigns
Get Campaign Notifications
Read the executing actor’s campaign notification preference.
Requires promotions:read. API keys and delegated Computer credentials resolve organization scope without browser cookies; optional organizationId must match that scope.
GET
/
api
/
v1
/
campaigns
/
{campaignId}
/
notifications
Get Campaign Notifications
curl --request GET \
--url https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/campaigns/{campaignId}/notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"enabled": true
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Query Parameters
Required for session auth. Optional for an API key, which already identifies the organization.
Required string length:
1 - 120Response
Canonical operation result. Inspect aggregate and per-target success and marketplace delivery evidence.