publ betaReference (MCP guide)
Open publ console

course_notifications_apply

# course_notifications_apply

Turns one course notification event on or off or changes its delivery in the Course app (pApp C00007). Saves configuration only; no notification is sent. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `action` | Yes | one of: `activation`, `delivery` (by `kind`) |
| `action.eventKey` | Yes | When `action.kind` is `activation`: `SELLER_P_APP_C00007_NOTICE_POST_CREATE_GENERAL`, `SELLER_P_APP_C00007_NOTICE_POST_CREATE_FOR_STUDENT`, `SYSTEM_P_APP_C00007_SESSION_DRAW_NEAR_TO_TIME`, `SYSTEM_P_APP_C00007_SESSION_ARRIVAL_OF_TIME` |
| `action.active` | Yes | When `action.kind` is `activation`: boolean |
| `action.initialization` | No | When `action.kind` is `activation`: `CONFIRM_FIRST_SAVE_WITHOUT_FULL_RESTORATION` |
| `action.eventKey` | Yes | When `action.kind` is `delivery`: `SELLER_P_APP_C00007_NOTICE_POST_CREATE_GENERAL`, `SELLER_P_APP_C00007_NOTICE_POST_CREATE_FOR_STUDENT`, `SYSTEM_P_APP_C00007_SESSION_DRAW_NEAR_TO_TIME`, `SYSTEM_P_APP_C00007_SESSION_ARRIVAL_OF_TIME` |
| `action.email` | No | When `action.kind` is `delivery`: boolean |
| `action.appPush` | No | When `action.kind` is `delivery`: boolean |
| `action.pwaPush` | No | When `action.kind` is `delivery`: boolean |
| `confirmToken` | No | string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |