POST
/
api
/
organizations
/
{organizationId}
/
campaign-dashboards
Add data campaign dashboard
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/campaign-dashboards \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "emailRecipientUids": [
    123
  ],
  "whenToEmail": "always",
  "showNoOfDays": 123
}'
{
  "success": true,
  "error": "<string>",
  "dataCampaignDashboardId": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

application/json
name
string
required
emailRecipientUids
integer[]
required

List of user IDs to notify for this dashboard (sent daily)

whenToEmail
enum<string>
required
Available options:
always,
on_changes,
never
showNoOfDays
integer
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

dataCampaignDashboardId
integer
required
error
string

Optional error description (set if 'success' was false)