SendSeven GmbH Custom Inboxes API

Create and manage custom conversation inboxes with filtered views and per-user access control.

GitHub OpenAPI

Operations 7

GET /api/v1/inboxes List Inboxes #
POST /api/v1/inboxes Create Inbox #
GET /api/v1/inboxes/{inbox_id} Get Inbox #
PATCH /api/v1/inboxes/{inbox_id} Update Inbox #
DELETE /api/v1/inboxes/{inbox_id} Delete Inbox #
GET /api/v1/inboxes/{inbox_id}/sender-options Get Inbox Sender Options #
PUT /api/v1/inboxes/{inbox_id}/users Set Inbox Users #

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-custom-inboxes-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-custom-inboxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven Custom Inboxes API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: Custom Inboxes
  description: Create and manage custom conversation inboxes with filtered views and per-user access control.
paths:
  /api/v1/inboxes:
    get:
      tags:
      - Custom Inboxes
      summary: List Inboxes
      description: 'List custom inboxes the caller can access.


        Admins / owners see every inbox in the tenant. Other users see inboxes

        whose ``access_mode=''all''`` plus any inbox where they''re listed in the

        ACL.


        Inboxes are saved conversation views, so reads are gated by

        ``conversations:read`` (a dedicated ``inboxes:read`` scope is redundant

        and blocked Support Agent / Viewer roles unnecessarily).


        **Required Scopes:** ``conversations:read``'
      operationId: list_inboxes_api_v1_inboxes_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxListResponse'
      security:
      - HTTPBearer: []
    post:
      tags:
      - Custom Inboxes
      summary: Create Inbox
      description: 'Create a new inbox.


        **Required Scopes:** ``inboxes:create`` (+ plan feature ``custom_inboxes``)'
      operationId: create_inbox_api_v1_inboxes_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/inboxes/{inbox_id}:
    get:
      tags:
      - Custom Inboxes
      summary: Get Inbox
      description: 'Get a single inbox. 404 if it doesn''t exist or the caller can''t see it.


        Inboxes are saved conversation views, so reads are gated by

        ``conversations:read``.


        **Required Scopes:** ``conversations:read``'
      operationId: get_inbox_api_v1_inboxes__inbox_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: inbox_id
        in: path
        required: true
        schema:
          type: string
          title: Inbox Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Custom Inboxes
      summary: Update Inbox
      description: 'Partial update.


        **Required Scopes:** ``inboxes:update`` (+ plan feature ``custom_inboxes``)'
      operationId: update_inbox_api_v1_inboxes__inbox_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: inbox_id
        in: path
        required: true
        schema:
          type: string
          title: Inbox Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Custom Inboxes
      summary: Delete Inbox
      description: 'Hard delete an inbox + child rows.


        **Required Scopes:** ``inboxes:delete`` (+ plan feature ``custom_inboxes``)'
      operationId: delete_inbox_api_v1_inboxes__inbox_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: inbox_id
        in: path
        required: true
        schema:
          type: string
          title: Inbox 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'
  /api/v1/inboxes/{inbox_id}/sender-options:
    get:
      tags:
      - Custom Inboxes
      summary: Get Inbox Sender Options
      description: 'List email senders the caller may use for composing a NEW email from

        inside this inbox.


        If the inbox has exactly one receiving email connection and that

        connection has a configured ``outbound_provider_id``, that''s the

        pre-selected default. Otherwise the caller picks from their accessible

        support-capable mailboxes.


        Inboxes are saved conversation views, so reads are gated by

        ``conversations:read``.


        **Required Scopes:** ``conversations:read``'
      operationId: get_inbox_sender_options_api_v1_inboxes__inbox_id__sender_options_get
      security:
      - HTTPBearer: []
      parameters:
      - name: inbox_id
        in: path
        required: true
        schema:
          type: string
          title: Inbox Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/inboxes/{inbox_id}/users:
    put:
      tags:
      - Custom Inboxes
      summary: Set Inbox Users
      description: 'Replace the full per-inbox ACL list.


        **Required Scopes:** ``inboxes:update`` (+ plan feature ``custom_inboxes``)'
      operationId: set_inbox_users_api_v1_inboxes__inbox_id__users_put
      security:
      - HTTPBearer: []
      parameters:
      - name: inbox_id
        in: path
        required: true
        schema:
          type: string
          title: Inbox Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboxUsersUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboxOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TagFilterMode:
      type: string
      enum:
      - any
      - all
      - none
      title: TagFilterMode
      description: How CustomInboxTagFilter rows are combined when filtering conversations.
    InboxEmailConnection:
      properties:
        email_integration_id:
          type: string
          title: Email Integration Id
          description: Email integration row id (the receiving connection — must have can_receive_support=True).
        allowed_recipients:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 100
          - type: 'null'
          title: Allowed Recipients
          description: Optional subset of addresses on the connection to route to this inbox. None or empty list = all addresses.
      type: object
      required:
      - email_integration_id
      title: InboxEmailConnection
      description: "Email connection assigned to an inbox, with optional alias subset.\n\n``allowed_recipients`` semantics (catchall subset filter):\n  - ``None`` or ``[]`` -> the inbox accepts every address this\n    connection can receive on (its ``email_address`` plus everything\n    in ``accepted_aliases``).\n  - non-empty list     -> the inbox routes only inbound conversations\n    whose ``Conversation.recipient_address`` is one of the listed\n    values. Each entry MUST be in the connection's\n    ``email_address ∪ accepted_aliases``; the service enforces this."
    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
    FieldFilterRule:
      properties:
        custom_field_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Custom Field Id
          description: ID of the contact custom-field definition this rule applies to. Exactly one of custom_field_id / builtin_field must be set.
        builtin_field:
          anyOf:
          - type: string
            const: language
          - type: 'null'
          title: Builtin Field
          description: Built-in contact attribute this rule applies to ('language' = the contact's preferred language). Exactly one of custom_field_id / builtin_field must be set.
        operator:
          $ref: '#/components/schemas/FieldFilterOperator'
          description: Comparison operator
        value:
          anyOf:
          - {}
          - type: 'null'
          title: Value
          description: 'Operator-dependent value. Scalar for eq/ne, non-empty string for contains/not_contains, list for in/not_in, {''min'':..., ''max'':...} for between, omitted for is_set/is_not_set. Language rules: a language code for eq/ne, a list of codes for in/not_in.'
        include_unidentified:
          type: boolean
          title: Include Unidentified
          description: 'Language rules only: treat ''No language identified'' (no contact or no language set) as one of the selected values. Always false for custom-field rules and for is_set / is_not_set.'
          default: false
      type: object
      required:
      - operator
      title: FieldFilterRule
      description: "A single contact-field rule on an inbox.\n\nThe rule targets EXACTLY ONE of ``custom_field_id`` (a contact custom\nfield) or ``builtin_field`` (a built-in contact attribute; today only\n``language``). Setting both or neither is a 422.\n\nCustom-field rules: ``value`` shape depends on ``operator``:\n  - ``eq`` / ``ne``         : scalar (str / int / float / bool)\n  - ``contains`` / ``not_contains`` : non-empty string (case-insensitive\n    substring; ``not_contains`` also matches contacts with no value)\n  - ``in``                  : list of scalars\n  - ``between``             : ``{\"min\": <scalar>, \"max\": <scalar>}``\n  - ``is_set`` / ``is_not_set`` : value is ignored (should be omitted / None)\n  ``not_in`` and ``include_unidentified=true`` are rejected.\n\nLanguage rules (``builtin_field=\"language\"``): operators ``eq``, ``ne``,\n``in``, ``not_in``, ``is_set``, ``is_not_set``. ``eq``/``ne`` take one\nlanguage code, ``in``/``not_in`` a list (max 100, deduplicated; empty\nonly when ``include_unidentified`` is true). Codes are ISO codes such as\n``ar``, ``de``, ``pt-BR``, stored lowercase with ``-``. A code without a\nregion also matches regional variants (``ar`` matches ``ar-SA``).\n``include_unidentified`` adds \"No language identified\" (no contact, or\nno language set) to the value set: ``in [ar] + include_unidentified`` =\nArabic OR no language; ``not_in [ar]`` alone also matches contacts\nwithout a language, unless ``include_unidentified`` is true."
    InboxCreate:
      properties:
        name:
          type: string
          maxLength: 255
          minLength: 1
          title: Name
        description:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Description
        icon:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Icon
          description: Lucide icon name
        color:
          anyOf:
          - type: string
          - type: 'null'
          title: Color
          description: '#RRGGBB hex color'
        access_mode:
          $ref: '#/components/schemas/AccessMode'
          description: '''all'' (any team member) or ''specific'' (whitelisted users)'
          default: all
        tag_filter_mode:
          $ref: '#/components/schemas/TagFilterMode'
          description: 'How tag rules are combined: any (has at least one), all (has every), none (has none of them). Ignored when tag_ids is empty.'
          default: none
        rule_match_mode:
          type: string
          enum:
          - all
          - any
          title: Rule Match Mode
          description: 'How the content rules combine: ''all'' = every rule must match (AND), ''any'' = at least one rule must match (OR). The tag rule (tag_ids with tag_filter_mode) counts as ONE rule and each field_filters entry is one rule. Channel / email-connection membership is always required in both modes.'
          default: all
        channel_ids:
          items:
            type: string
          type: array
          maxItems: 100
          title: Channel Ids
          description: Non-email channel IDs that belong to this inbox. Email connections are listed separately under ``email_connections``.
        email_connections:
          anyOf:
          - items:
              $ref: '#/components/schemas/InboxEmailConnection'
            type: array
            maxItems: 50
          - type: 'null'
          title: Email Connections
          description: Email connections (EmailIntegration rows with can_receive_support=True) routed to this inbox, each with an optional alias-subset filter.
        tag_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 50
          - type: 'null'
          title: Tag Ids
          description: Tag IDs used by the tag rule (interpreted via tag_filter_mode)
        field_filters:
          anyOf:
          - items:
              $ref: '#/components/schemas/FieldFilterRule'
            type: array
            maxItems: 20
          - type: 'null'
          title: Field Filters
          description: Custom-field rules, combined with the tag rule per rule_match_mode
        allowed_user_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 500
          - type: 'null'
          title: Allowed User Ids
          description: Whitelisted user IDs (only used when access_mode='specific')
        all_channels:
          type: boolean
          title: All Channels
          description: True = the inbox covers every channel and email connection of the workspace (channel_ids / email_connections are ignored). False = only the listed ones; with none listed the inbox shows nothing.
          default: false
        access_tag_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 50
          - type: 'null'
          title: Access Tag Ids
          description: 'Team-member tag IDs that grant access (only used when access_mode=''specific''): members holding ANY of these tags see the conversations matching this inbox''s full filter. Separate from tag_ids, which filter conversations.'
        is_active:
          type: boolean
          title: Is Active
          default: true
        sort_order:
          type: integer
          title: Sort Order
          default: 0
      type: object
      required:
      - name
      title: InboxCreate
      description: Payload for creating a custom inbox.
    AccessMode:
      type: string
      enum:
      - all
      - specific
      title: AccessMode
      description: Who can use this mailbox
    InboxUsersUpdate:
      properties:
        user_ids:
          items:
            type: string
          type: array
          maxItems: 500
          title: User Ids
      type: object
      title: InboxUsersUpdate
      description: Replace the full list of allowed users for an inbox.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InboxOut:
      properties:
        id:
          type: string
          title: Id
        tenant_id:
          type: string
          title: Tenant Id
        name:
          type: string
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        icon:
          anyOf:
          - type: string
          - type: 'null'
          title: Icon
        color:
          anyOf:
          - type: string
          - type: 'null'
          title: Color
        access_mode:
          type: string
          title: Access Mode
        tag_filter_mode:
          type: string
          title: Tag Filter Mode
        rule_match_mode:
          type: string
          enum:
          - all
          - any
          title: Rule Match Mode
          default: all
        is_active:
          type: boolean
          title: Is Active
        sort_order:
          type: integer
          title: Sort Order
        channel_ids:
          items:
            type: string
          type: array
          title: Channel Ids
        email_connections:
          items:
            $ref: '#/components/schemas/InboxEmailConnection'
          type: array
          title: Email Connections
        tag_ids:
          items:
            type: string
          type: array
          title: Tag Ids
        field_filters:
          items:
            $ref: '#/components/schemas/FieldFilterRule'
          type: array
          title: Field Filters
        allowed_user_ids:
          items:
            type: string
          type: array
          title: Allowed User Ids
        all_channels:
          type: boolean
          title: All Channels
          default: false
        access_tag_ids:
          items:
            type: string
          type: array
          title: Access Tag Ids
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - tenant_id
      - name
      - access_mode
      - tag_filter_mode
      - is_active
      - sort_order
      - created_at
      - updated_at
      title: InboxOut
      description: Custom inbox response body.
    InboxListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/InboxOut'
          type: array
          title: Items
      type: object
      required:
      - items
      title: InboxListResponse
      description: Wrapper for list endpoints — unified API convention.
    FieldFilterOperator:
      type: string
      enum:
      - eq
      - ne
      - in
      - between
      - is_set
      - is_not_set
      - contains
      - not_contains
      - not_in
      title: FieldFilterOperator
      description: Operators supported by CustomInboxFieldFilter.
    InboxUpdate:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
            maxLength: 500
          - type: 'null'
          title: Description
        icon:
          anyOf:
          - type: string
            maxLength: 50
          - type: 'null'
          title: Icon
        color:
          anyOf:
          - type: string
          - type: 'null'
          title: Color
        access_mode:
          anyOf:
          - $ref: '#/components/schemas/AccessMode'
          - type: 'null'
        tag_filter_mode:
          anyOf:
          - $ref: '#/components/schemas/TagFilterMode'
          - type: 'null'
        rule_match_mode:
          anyOf:
          - type: string
            enum:
            - all
            - any
          - type: 'null'
          title: Rule Match Mode
          description: '''all'' (AND) or ''any'' (OR) of the content rules; None = unchanged'
        channel_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 100
          - type: 'null'
          title: Channel Ids
        email_connections:
          anyOf:
          - items:
              $ref: '#/components/schemas/InboxEmailConnection'
            type: array
            maxItems: 50
          - type: 'null'
          title: Email Connections
          description: 'Replace-style: full list of email connections routed to this inbox. None = leave unchanged; empty list = clear.'
        tag_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 50
          - type: 'null'
          title: Tag Ids
        field_filters:
          anyOf:
          - items:
              $ref: '#/components/schemas/FieldFilterRule'
            type: array
            maxItems: 20
          - type: 'null'
          title: Field Filters
        allowed_user_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 500
          - type: 'null'
          title: Allowed User Ids
        all_channels:
          anyOf:
          - type: boolean
          - type: 'null'
          title: All Channels
        access_tag_ids:
          anyOf:
          - items:
              type: string
            type: array
            maxItems: 50
          - type: 'null'
          title: Access Tag Ids
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
        sort_order:
          anyOf:
          - type: integer
          - type: 'null'
          title: Sort Order
      type: object
      title: InboxUpdate
      description: 'Payload for partially updating a custom inbox.


        All fields are optional; ``None`` means "do not change". An explicit

        empty list (e.g. ``tag_ids=[]``) means "clear the list".'
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer