Auth API reference

Auth API · App-Notification-Settings

get/v1/apps/{app_id}/notification-settingsAuth

Read 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*string

Id of the app.

Response · 200 Settings row.

app_id*string

App UUID.

notifications_via_envoi*boolean

Master switch — when true, every populated template slot fires through the workspace Mail domain.

sender_mode*object

Where 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*object

The sender Auth emails actually go out from, with its live verification status in Mail.

default_sender_address*string

The From used when `sender_mode` is `custom`; `null` when unset.

verification_template_name*string

Mail template fired for end-user email verification; `null` when unset.

welcome_template_name*string

Mail template fired right after a successful verification.

password_reset_template_name*string

Mail template fired on password-reset request.

invite_template_name*string

Mail 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*string

Mail 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*string

Mail template for passwordless email sign-in (magic link and/or code); `null` when unset (email sign-in answers 412 until configured).

web_origin*string

Public 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-time

Row created at, ISO 8601.

updated_at*string · date-time

Row last updated at, ISO 8601.

Example

Request

GET https://api.auth.productcraft.co/v1/apps/{app_id}/notification-settings
Authorization: Bearer YOUR_TOKEN

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"
}