SendSeven GmbH Email Mailboxes API

Manage connected email mailboxes used for sending and receiving email conversations.

GitHub OpenAPI

Operations 5

GET /api/v1/email-mailboxes List Email Mailboxes #
POST /api/v1/email-mailboxes Create Email Mailbox #
GET /api/v1/email-mailboxes/{mailbox_id} Get Email Mailbox #
PUT /api/v1/email-mailboxes/{mailbox_id} Update Email Mailbox #
DELETE /api/v1/email-mailboxes/{mailbox_id} Delete Email Mailbox #

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-email-mailboxes-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-email-mailboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven Email Mailboxes API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: Email Mailboxes
  description: Manage connected email mailboxes used for sending and receiving email conversations.
paths:
  /api/v1/email-mailboxes:
    get:
      tags:
      - Email Mailboxes
      summary: List Email Mailboxes
      description: 'List email mailboxes for the tenant.


        Returns active mailboxes by default: the mailbox is active AND its linked

        connection (email integration or provider config) is active and not

        archived. Set `active_only=false` to include deactivated mailboxes and

        mailboxes whose connection is switched off; each item''s

        `connection_active` says whether its connection can currently send.


        Optional filters:

        - `purpose=campaign` - only mailboxes with can_send_campaigns=True

        - `purpose=support` - only mailboxes with can_send_support=True

        - `for_user_id` - only mailboxes the given user can access (all + specific with user in list)


        **Required Scopes:** `channels:read`'
      operationId: list_email_mailboxes_api_v1_email_mailboxes_get
      security:
      - HTTPBearer: []
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          description: Page number (1-indexed)
          default: 1
          title: Page
        description: Page number (1-indexed)
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Items per page
          default: 50
          title: Page Size
        description: Items per page
      - name: active_only
        in: query
        required: false
        schema:
          type: boolean
          description: Only return active mailboxes
          default: true
          title: Active Only
        description: Only return active mailboxes
      - name: purpose
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Filter by capability: ''campaign'' (can_send_campaigns=True) or ''support'' (can_send_support=True)'
          title: Purpose
        description: 'Filter by capability: ''campaign'' (can_send_campaigns=True) or ''support'' (can_send_support=True)'
      - name: for_user_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter to mailboxes accessible by this user (respects access_mode)
          title: For User Id
        description: Filter to mailboxes accessible by this user (respects access_mode)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailMailboxListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Email Mailboxes
      summary: Create Email Mailbox
      description: 'Create a new email mailbox.


        Either `email_integration_id` or `email_provider_config_id` must be set

        (but not both). If `is_default` is True the previous default mailbox

        for the tenant is unset.


        Returns **409** when the same connection (integration or provider config)

        already has an ACTIVE mailbox with this address (case-insensitive). The

        same address on a different connection is allowed.


        **Required Scopes:** `channels:create`'
      operationId: create_email_mailbox_api_v1_email_mailboxes_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailMailboxCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailMailboxResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/email-mailboxes/{mailbox_id}:
    get:
      tags:
      - Email Mailboxes
      summary: Get Email Mailbox
      description: 'Get a single email mailbox by ID.


        **Required Scopes:** `channels:read`'
      operationId: get_email_mailbox_api_v1_email_mailboxes__mailbox_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: mailbox_id
        in: path
        required: true
        schema:
          type: string
          title: Mailbox Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailMailboxResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Email Mailboxes
      summary: Update Email Mailbox
      description: 'Update an email mailbox.


        When setting `is_default=true`, the previous default mailbox for the

        tenant is automatically unset.


        Returns **409** when an address change or a reactivation would give this

        mailbox''s connection a second ACTIVE mailbox with the same address.


        **Required Scopes:** `channels:update`'
      operationId: update_email_mailbox_api_v1_email_mailboxes__mailbox_id__put
      security:
      - HTTPBearer: []
      parameters:
      - name: mailbox_id
        in: path
        required: true
        schema:
          type: string
          title: Mailbox Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailMailboxUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailMailboxResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Email Mailboxes
      summary: Delete Email Mailbox
      description: 'Delete an email mailbox (soft-delete: sets is_active=False).


        **Required Scopes:** `channels:delete`'
      operationId: delete_email_mailbox_api_v1_email_mailboxes__mailbox_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: mailbox_id
        in: path
        required: true
        schema:
          type: string
          title: Mailbox Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PaginationMeta:
      properties:
        total:
          type: integer
          title: Total
          description: Total number of items matching the query
        page:
          type: integer
          minimum: 1.0
          title: Page
          description: Current page number (1-indexed)
        page_size:
          type: integer
          minimum: 1.0
          title: Page Size
          description: Number of items per page
        total_pages:
          type: integer
          title: Total Pages
          description: Total number of pages
        has_next:
          type: boolean
          title: Has Next
          description: Whether there are more pages
        has_prev:
          type: boolean
          title: Has Prev
          description: Whether there are previous pages
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
          description: Cursor for next page (if using cursor pagination)
        prev_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Prev Cursor
          description: Cursor for previous page
      type: object
      required:
      - total
      - page
      - page_size
      - total_pages
      - has_next
      - has_prev
      title: PaginationMeta
      description: 'Pagination metadata for list responses.


        Supports both offset-based and page-based pagination.

        Clients should use page/page_size for new implementations.'
    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
    SuccessResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the operation succeeded
          default: true
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
          description: Optional success message
      type: object
      title: SuccessResponse
      description: 'Standard success response for operations without data return.


        Use for: DELETE operations, bulk updates, toggles, etc.'
      example:
        message: Resource deleted successfully
        success: true
    EmailMailboxUpdate:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Name
          description: Display name for the mailbox
        display_name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Display Name
          description: From name shown to email recipients. When set, overrides 'name' for sending. Set to empty string to clear.
        email_address:
          anyOf:
          - type: string
            format: email
          - type: 'null'
          title: Email Address
          description: Email address for this mailbox
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
          description: Whether the mailbox is active
        is_default:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Default
          description: Whether this is the default mailbox
        can_send_campaigns:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Can Send Campaigns
          description: Whether this mailbox can be used for email campaigns
        can_send_support:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Can Send Support
          description: Whether this mailbox can be used for support replies
        include_thread_history:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Thread History
          description: 'Default for outbound replies from this mailbox: when True, the quoted prior-thread history block is appended beneath the reply.'
        access_mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Mode
          description: 'Who can use this mailbox: ''all'' or ''specific'''
        allowed_user_ids:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Allowed User Ids
          description: User IDs allowed to use this mailbox (only when access_mode='specific')
      type: object
      title: EmailMailboxUpdate
      description: Schema for updating an email mailbox (all fields optional).
      example:
        access_mode: specific
        allowed_user_ids:
        - user-uuid-1
        - user-uuid-2
        can_send_campaigns: true
        is_default: true
        name: Updated Support
    EmailMailboxListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/EmailMailboxResponse'
          type: array
          title: Items
          description: List of items for this page
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
          description: Pagination metadata
      type: object
      required:
      - items
      - pagination
      title: EmailMailboxListResponse
      description: Paginated list of email mailboxes.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EmailMailboxResponse:
      properties:
        created_at:
          type: string
          title: Created At
          description: When the resource was created (UTC)
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
          description: When the resource was last updated (UTC)
        id:
          type: string
          title: Id
          description: Unique identifier (UUID)
        tenant_id:
          type: string
          title: Tenant Id
          description: Tenant this resource belongs to
        name:
          type: string
          title: Name
          description: Display name
        display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Name
          description: From name shown to email recipients. Overrides 'name' for sending when set.
        email_address:
          type: string
          title: Email Address
          description: Email address
        email_integration_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Email Integration Id
          description: Linked email integration ID
        email_provider_config_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Email Provider Config Id
          description: Linked email provider config ID
        integration_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Integration Name
          description: Name of linked email integration
        provider_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider Name
          description: Name of linked email provider config
        is_active:
          type: boolean
          title: Is Active
          description: Whether the mailbox is active
        connection_active:
          type: boolean
          title: Connection Active
          description: Whether the linked email connection (integration or provider) is active and not archived, i.e. the mailbox can currently send. False when its connection was switched off.
          default: true
        is_default:
          type: boolean
          title: Is Default
          description: Whether this is the default mailbox
        can_send_campaigns:
          type: boolean
          title: Can Send Campaigns
          description: Whether this mailbox can be used for email campaigns
          default: false
        can_send_support:
          type: boolean
          title: Can Send Support
          description: Whether this mailbox can be used for support replies
          default: true
        include_thread_history:
          type: boolean
          title: Include Thread History
          description: 'Default for outbound replies: append the quoted prior-thread history block'
          default: true
        access_mode:
          type: string
          title: Access Mode
          description: 'Who can use this mailbox: ''all'' or ''specific'''
          default: all
        allowed_user_ids:
          items:
            type: string
          type: array
          title: Allowed User Ids
          description: User IDs allowed to use this mailbox
      type: object
      required:
      - created_at
      - id
      - tenant_id
      - name
      - email_address
      - is_active
      - is_default
      title: EmailMailboxResponse
      description: Full email mailbox in API responses.
      example:
        access_mode: all
        allowed_user_ids: []
        can_send_campaigns: false
        can_send_support: true
        created_at: '2026-02-20T10:00:00Z'
        email_address: support@company.com
        email_integration_id: integration-uuid
        id: mailbox-uuid
        integration_name: Gmail - Support
        is_active: true
        is_default: true
        name: Support
        tenant_id: tenant-uuid
        updated_at: '2026-02-20T10:00:00Z'
    EmailMailboxCreate:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
          description: Display name for the mailbox (e.g. 'Support', 'Sales')
        display_name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Display Name
          description: From name shown to email recipients. When set, overrides 'name' for sending. When null, 'name' is used.
        email_address:
          type: string
          format: email
          title: Email Address
          description: Email address for this mailbox
        email_integration_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Email Integration Id
          description: Link to an email integration (Gmail, SMTP, SES, Proxy)
        email_provider_config_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Email Provider Config Id
          description: Link to an email provider config (SendGrid, Mailgun)
        is_default:
          type: boolean
          title: Is Default
          description: Whether this is the default mailbox for the tenant
          default: false
        can_send_campaigns:
          type: boolean
          title: Can Send Campaigns
          description: Whether this mailbox can be used for email campaigns
          default: false
        can_send_support:
          type: boolean
          title: Can Send Support
          description: Whether this mailbox can be used for support replies
          default: true
        include_thread_history:
          type: boolean
          title: Include Thread History
          description: 'Default for outbound replies from this mailbox: when True, the quoted prior-thread history block is appended beneath the reply. Can be overridden per-send.'
          default: true
        access_mode:
          type: string
          title: Access Mode
          description: 'Who can use this mailbox: ''all'' (any team member) or ''specific'' (only designated users)'
          default: all
        allowed_user_ids:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Allowed User Ids
          description: User IDs allowed to use this mailbox (only when access_mode='specific')
      type: object
      required:
      - name
      - email_address
      title: EmailMailboxCreate
      description: Schema for creating a new email mailbox.
      example:
        access_mode: all
        can_send_campaigns: false
        can_send_support: true
        email_address: support@company.com
        email_integration_id: integration-uuid
        is_default: true
        name: Support
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer