SendSeven GmbH Tenant Email Settings API

Configure tenant-level email settings including sending defaults and delivery preferences.

GitHub OpenAPI

Operations 3

GET /api/v1/tenant-email-settings Get Email Settings #
PUT /api/v1/tenant-email-settings Update Email Settings #
GET /api/v1/tenant-email-settings/sendable-domains Get Sendable Domains #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sendseven-com:sendseven-com-tenant-email-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sendseven-com-tenant-email-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven Tenant Email Settings API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: Tenant Email Settings
  description: Configure tenant-level email settings including sending defaults and delivery preferences.
paths:
  /api/v1/tenant-email-settings:
    get:
      tags:
      - Tenant Email Settings
      summary: Get Email Settings
      description: 'Get tenant email settings.


        Returns the tenant''s email configuration including campaign defaults,

        support defaults, and settings. Creates default settings if none exist.


        **Required Scopes:** `email_integrations:read`


        **Database:** SHARD (email_settings table)'
      operationId: get_email_settings_api_v1_tenant_email_settings_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantEmailSettingsResponse'
      security:
      - HTTPBearer: []
    put:
      tags:
      - Tenant Email Settings
      summary: Update Email Settings
      description: 'Update tenant email settings.


        Partial update - only provided fields are changed. Validates from_email

        fields against sendable domains if provided. ``tracking_mode`` accepts

        ``always`` | ``consent`` | ``never`` | null (null = automatic by country).


        **Required Scopes:** `email_integrations:update`


        **Database:** SHARD (email_settings table)'
      operationId: update_email_settings_api_v1_tenant_email_settings_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantEmailSettingsUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantEmailSettingsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/tenant-email-settings/sendable-domains:
    get:
      tags:
      - Tenant Email Settings
      summary: Get Sendable Domains
      description: 'List verified domains and addresses the tenant can send email from.


        Aggregates sendable domains from all email integrations and provider configs:

        - SendGrid/SendGrid Managed/Mailgun BYOK providers with verified domains

        - SES managed integrations with verified domains

        - Gmail OAuth integrations (fixed address, support-only)

        - SMTP/IMAP integrations (fixed address, support-only)


        Use the `purpose` query parameter to filter:

        - `?purpose=campaign` - only campaign-capable sources

        - `?purpose=support` - all sources (support can use any sender)

        - omit - all sources (backwards compatible)


        Each entry includes a `campaign_capable` boolean indicating whether it can

        be used for email campaigns.


        **Required Scopes:** `email_integrations:read`


        **Database:** SHARD (email_provider_configs, email_integrations tables)'
      operationId: get_sendable_domains_api_v1_tenant_email_settings_sendable_domains_get
      security:
      - HTTPBearer: []
      parameters:
      - name: purpose
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - campaign
            - support
            type: string
          - type: 'null'
          description: 'Filter by intended use: ''campaign'' returns only campaign-capable sources (SendGrid, Mailgun, SES); ''support'' returns all sources; omit for all sources (default).'
          title: Purpose
        description: 'Filter by intended use: ''campaign'' returns only campaign-capable sources (SendGrid, Mailgun, SES); ''support'' returns all sources; omit for all sources (default).'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendableDomainsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SendableDomainResponse:
      properties:
        domain:
          type: string
          title: Domain
          description: Domain name (e.g., example.com)
        type:
          type: string
          title: Type
          description: 'Domain type: ''full_domain'' or ''fixed_address'''
        address:
          anyOf:
          - type: string
          - type: 'null'
          title: Address
          description: Full email address (only for fixed_address type)
        source:
          type: string
          title: Source
          description: Integration source (sendgrid_byok, sendgrid_managed, mailgun_byok, gmail, smtp_imap, proxy)
        source_id:
          type: string
          title: Source Id
          description: ID of the source integration or provider config
        campaign_capable:
          type: boolean
          title: Campaign Capable
          description: Whether this source can be used for email campaigns
      type: object
      required:
      - domain
      - type
      - source
      - source_id
      - campaign_capable
      title: SendableDomainResponse
      description: Individual sendable domain entry
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TenantEmailSettingsResponse:
      properties:
        id:
          type: string
          title: Id
          description: Settings record ID
        tenant_id:
          type: string
          title: Tenant Id
          description: Tenant ID
        campaign_from_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign From Email
        campaign_from_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign From Name
        campaign_reply_to:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign Reply To
        support_from_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Support From Email
        support_from_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Support From Name
        support_integration_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Support Integration Id
        campaign_default_mailbox_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaign Default Mailbox Id
          description: Default mailbox ID for campaigns
        support_default_mailbox_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Support Default Mailbox Id
          description: Default mailbox ID for support
        doi_mailbox_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Doi Mailbox Id
          description: Mailbox ID for double opt-in confirmation emails
        allow_custom_sender:
          type: boolean
          title: Allow Custom Sender
          default: false
        double_opt_in_enabled:
          type: boolean
          title: Double Opt In Enabled
          default: false
        double_opt_in_template_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Double Opt In Template Id
        compliance_footer_html:
          anyOf:
          - type: string
          - type: 'null'
          title: Compliance Footer Html
        track_opens_default:
          type: boolean
          title: Track Opens Default
          default: true
        track_clicks_default:
          type: boolean
          title: Track Clicks Default
          default: true
        tracking_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Tracking Mode
          description: 'Email open/click tracking mode: `always`, `consent` (only recipients who gave tracking consent are tracked) or `never`. Null = automatic: `consent` when the workspace country is in the EEA, UK or Switzerland (or unknown), otherwise `always`.'
        effective_tracking_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Effective Tracking Mode
          description: 'Mode in effect: `always`, `consent` or `never` (resolves a null `tracking_mode`)'
        tracking_consent_region:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Tracking Consent Region
          description: True when the workspace country is in the EEA, UK or Switzerland, or unknown
        tenant_country:
          anyOf:
          - type: string
          - type: 'null'
          title: Tenant Country
          description: Workspace country (ISO 3166-1 alpha-2) used for the automatic mode
        created_at:
          type: string
          title: Created At
          description: When settings were created
        updated_at:
          type: string
          title: Updated At
          description: When settings were last updated
      type: object
      required:
      - id
      - tenant_id
      - created_at
      - updated_at
      title: TenantEmailSettingsResponse
      description: Full response model for tenant email settings
    SendableDomainsResponse:
      properties:
        domains:
          items:
            $ref: '#/components/schemas/SendableDomainResponse'
          type: array
          title: Domains
          description: List of sendable domains
      type: object
      title: SendableDomainsResponse
      description: List of all sendable domains for a tenant
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TenantEmailSettingsUpdate:
      properties:
        campaign_from_email:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Campaign From Email
          description: Default from email for campaigns
        campaign_from_name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Campaign From Name
          description: Default from name for campaigns
        campaign_reply_to:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Campaign Reply To
          description: Default reply-to for campaigns
        support_from_email:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Support From Email
          description: Default from email for support
        support_from_name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Support From Name
          description: Default from name for support
        support_integration_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Support Integration Id
          description: Preferred email integration ID for support
        campaign_default_mailbox_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Campaign Default Mailbox Id
          description: Default mailbox ID for campaigns
        support_default_mailbox_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Support Default Mailbox Id
          description: Default mailbox ID for support
        doi_mailbox_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Doi Mailbox Id
          description: Mailbox ID for double opt-in confirmation emails
        allow_custom_sender:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Allow Custom Sender
          description: Allow agents to use custom sender addresses
        double_opt_in_enabled:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Double Opt In Enabled
          description: Enable double opt-in for subscriptions
        double_opt_in_template_id:
          anyOf:
          - type: string
            maxLength: 36
          - type: 'null'
          title: Double Opt In Template Id
          description: Template ID for double opt-in confirmation
        compliance_footer_html:
          anyOf:
          - type: string
          - type: 'null'
          title: Compliance Footer Html
          description: HTML compliance footer appended to emails
        track_opens_default:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Track Opens Default
          description: Default OPEN tracking for new campaigns
        track_clicks_default:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Track Clicks Default
          description: Default CLICK tracking for new campaigns
        tracking_mode:
          anyOf:
          - type: string
            enum:
            - always
            - consent
            - never
          - type: 'null'
          title: Tracking Mode
          description: 'Email open/click tracking mode: `always`, `consent` (only recipients who gave tracking consent are tracked) or `never`. Null = automatic: `consent` when the workspace country is in the EEA, UK or Switzerland (or unknown), otherwise `always`.'
      additionalProperties: false
      type: object
      title: TenantEmailSettingsUpdate
      description: PUT request model for updating tenant email settings (all fields optional)
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer