Mailboxes

Configure mailbox defaults

Sets the project's default outbound mailbox for implicit app/helper sends and/or auth sender mailbox for magic-link and invite emails. Defaults must be active, non-tombstoned mailboxes owned by the same project.

patch/mailboxes/v1/settings

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/mailboxes/v1/settings
  • Auth: HTTP bearer

Request body

default_outbound_mailbox_idstring nullable

Mailbox used by implicit project/app email sends.

auth_sender_mailbox_idstring nullable

Mailbox used by hosted/API magic-link and invite emails.

Response

Mailbox settings updated

Example response

{
  "mailboxes": [
    {
      "mailbox_id": "mbx_1780076428285_dlnfqq",
      "address": "notifications@kysigned3.mail.run402.com",
      "managed_address": "notifications@kysigned3.mail.run402.com",
      "project_id": "prj_1741340000_0042",
      "address_domain": "kysigned3.mail.run402.com",
      "managed_domain": "kysigned3.mail.run402.com",
      "next_action": {
        "method": "POST",
        "path": "/tiers/v1/hobby",
        "auth": "x402"
      }
    }
  ],
  "next_actions": [
    {
      "method": "POST",
      "path": "/tiers/v1/hobby",
      "auth": "x402"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.