Set recipient preferences for an event email context
POST/organizations/:organizationId/event-email-settings/:context/recipient-preferences
Updates the recipient preference flags for all event emails in the given context (practitioner or facility). Preferences are stored at context scope and apply to both the credentialing and recredentialing modes — changing them here overrides any mode-level preference values. The request body contains four boolean flags: primaryEmail, caqhPrimaryEmail, credentialingPrimaryContact, and credentialingOfficeManager; each controls whether that recipient type receives event emails. Returns the full EventEmailSettingsContextResponse for the context. These same preferences can also be set as part of a full mode save via POST /{context}/{mode}. Note: this path does not constrain or validate context beyond requiring the recipientPreferences object in the body — other string context values are silently accepted.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The full context settings record with the updated recipient preferences, including both mode summaries.
The recipientPreferences object is missing from the request body; it is required.
Unauthorized - Authentication required
Forbidden - User does not have required permissions
Internal Server Error