/v1/apps/{app_id}/notification-settingsAuthRead the per-app notification settings. Absent row reads as defaults (notifications_via_envoi: false, sender_mode: workspace, every template slot null).
`effective_sender` is the sender emails actually go out from, checked live in Mail with your own access (the workspace default sender, or the app's custom address).
Path parameters
app_id*stringId of the app.
Response · 200 Settings row.
app_id*stringApp UUID.
notifications_via_envoi*booleanMaster switch — when true, every populated template slot fires through the workspace Mail domain.
sender_mode*objectWhere the From comes from: `workspace` (the workspace default sender set in Mail; the default for new apps) or `custom` (`default_sender_address`). Apps that had an address before this setting existed are `custom`.
Example: "workspace"
effective_sender*objectThe sender Auth emails actually go out from, with its live verification status in Mail.
default_sender_address*stringThe From used when `sender_mode` is `custom`; `null` when unset.
verification_template_name*stringMail template fired for end-user email verification; `null` when unset.
welcome_template_name*stringMail template fired right after a successful verification.
password_reset_template_name*stringMail template fired on password-reset request.
invite_template_name*stringMail template fired when an end-user is invited into the app; `null` when unset (the invite row and code are still created, but no email goes out).
mfa_code_template_name*stringMail template fired to deliver email-MFA sign-in / step-up codes; `null` when unset (email MFA challenges fail loudly until configured).
sign_in_template_name*stringMail template for passwordless email sign-in (magic link and/or code); `null` when unset (email sign-in answers 412 until configured).
web_origin*stringPublic origin of the customer's portal used to render clickable buttons in verification + password-reset emails (`https://host[:port]` or `http://localhost[:port]`); `null` when unset.
created_at*string · date-timeRow created at, ISO 8601.
updated_at*string · date-timeRow last updated at, ISO 8601.
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/notification-settings
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
const appNotificationSettings = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").notificationSettings.retrieve();auth.admin.app(…).notificationSettings.retrieve(options?): Auth.AppNotificationSettings
Response
{
"app_id": "string",
"notifications_via_envoi": false,
"sender_mode": "workspace",
"effective_sender": {},
"default_sender_address": "string",
"verification_template_name": "string",
"welcome_template_name": "string",
"password_reset_template_name": "string",
"invite_template_name": "string",
"mfa_code_template_name": "string",
"sign_in_template_name": "string",
"web_origin": "string",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}