Vic.ai Allowed Senders API

Restricts which sender addresses an email endpoint will accept. Each entry is either an `exact` match (full email address) or a `domain` match (everything from that domain). When the restriction is active and an inbound email's sender does not match any entry, the email is rejected and not processed.

Operations 3

GET /v2/email_endpoints/{email_endpoint_id}/allowed_senders List allowed senders #
POST /v2/email_endpoints/{email_endpoint_id}/allowed_senders Add allowed senders #
DELETE /v2/email_endpoints/{email_endpoint_id}/allowed_senders/{id} Remove allowed sender #

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/vicai-allowed-senders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

vicai-allowed-senders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v10.40.4
  contact: {}
  title: Vic.ai Allowed Senders API
  description: '## Introduction


    The Vic.ai API provides a seamless connection between your Enterprise Resource

    Planning (ERP) system and the Vic.ai product suite.'
servers:
- url: https://api.no.stage.vic.ai
  description: staging server, NO
- url: https://api.us.vic.ai
  description: production server, US
- url: https://api.no.vic.ai
  description: production server, NO
security:
- BearerAuth: []
tags:
- name: Allowed Senders
  description: 'Restricts which sender addresses an email endpoint will accept. Each

    entry is either an `exact` match (full email address) or a `domain`

    match (everything from that domain). When the restriction is active

    and an inbound email''s sender does not match any entry, the email is

    rejected and not processed.'
paths:
  /v2/email_endpoints/{email_endpoint_id}/allowed_senders:
    get:
      description: Lists the allowed sender entries for an email endpoint.
      summary: List allowed senders
      operationId: listEmailEndpointAllowedSendersV2
      tags:
      - Allowed Senders
      parameters:
      - name: email_endpoint_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - $ref: '#/components/parameters/PaginationV2'
      responses:
        '200':
          description: A page of allowed sender entries for the endpoint.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllowedSendersResponseV2'
        '403':
          $ref: '#/components/responses/ErrorResponseV2'
        '404':
          $ref: '#/components/responses/ErrorResponseV2'
        4XX:
          $ref: '#/components/responses/ErrorResponseV2'
    post:
      description: 'Adds one or more allowed sender entries to an email endpoint.

        Up to 20 entries per request. Duplicate `(match_type,

        sender_pattern)` pairs within a request are rejected.'
      summary: Add allowed senders
      operationId: createEmailEndpointAllowedSendersV2
      tags:
      - Allowed Senders
      parameters:
      - name: email_endpoint_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AllowedSendersCreateRequestV2'
      responses:
        '201':
          description: The created allowed sender entries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllowedSendersCreateResponseV2'
        '403':
          $ref: '#/components/responses/ErrorResponseV2'
        '404':
          $ref: '#/components/responses/ErrorResponseV2'
        4XX:
          $ref: '#/components/responses/ErrorResponseV2'
  /v2/email_endpoints/{email_endpoint_id}/allowed_senders/{id}:
    delete:
      description: Removes a single allowed sender entry.
      summary: Remove allowed sender
      operationId: deleteEmailEndpointAllowedSenderV2
      tags:
      - Allowed Senders
      parameters:
      - name: email_endpoint_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: The allowed sender entry has been removed.
        '403':
          $ref: '#/components/responses/ErrorResponseV2'
        '404':
          $ref: '#/components/responses/ErrorResponseV2'
        4XX:
          $ref: '#/components/responses/ErrorResponseV2'
components:
  parameters:
    PaginationV2:
      name: page
      in: query
      schema:
        $ref: '#/components/schemas/PaginationV2'
  schemas:
    AllowedSenderV2:
      type: object
      required:
      - id
      - match_type
      - sender_pattern
      - created_at
      properties:
        id:
          type: string
          format: uuid
        match_type:
          type: string
          enum:
          - exact
          - domain
          description: '`exact` matches the full sender email address. `domain`

            matches everything after the `@`.

            '
        sender_pattern:
          type: string
          description: 'For `exact` entries, a full email address (e.g.

            `ap@vendor.com`). For `domain` entries, just the domain

            (e.g. `vendor.com`). Pattern matching is case-insensitive.

            '
        created_at:
          type: string
          format: date-time
    PaginationMetaV2:
      type: object
      properties:
        cursor:
          description: 'The cursor to the next page of data. If it is null, that means there

            is no more data to fetch.

            '
          oneOf:
          - type: string
          - type: 'null'
    AllowedSendersCreateRequestV2:
      type: object
      required:
      - allowed_senders
      properties:
        allowed_senders:
          type: array
          minItems: 1
          maxItems: 20
          items:
            type: object
            required:
            - match_type
            - sender_pattern
            properties:
              match_type:
                type: string
                enum:
                - exact
                - domain
              sender_pattern:
                type: string
    PaginationV2:
      type: object
      properties:
        size:
          type: integer
          description: The page size.
          maximum: 50
          minimum: 1
        cursor:
          type: string
          description: The cursor to use to get the next page of results.
    ErrorV2:
      type: object
      required:
      - message
      properties:
        field:
          description: 'The field that the error occurred on. This field may not always be

            present.

            '
          oneOf:
          - type: string
          - type: 'null'
        message:
          description: A description of the error.
          type: string
    AllowedSendersResponseV2:
      type: object
      required:
      - meta
      - data
      properties:
        meta:
          type: object
          required:
          - page
          properties:
            page:
              $ref: '#/components/schemas/PaginationMetaV2'
        data:
          type: array
          items:
            $ref: '#/components/schemas/AllowedSenderV2'
    AllowedSendersCreateResponseV2:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/AllowedSenderV2'
  responses:
    ErrorResponseV2:
      description: An unexpected error has occurred. Check the body for more details.
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/ErrorV2'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
x-tagGroups:
- name: Integration
  tags:
  - Authentication
  - Pagination
  - Webhooks
  - Webhook Subscriptions
  - Webhook Events
  - Synchronizing
  - Status
- name: Master Data
  tags:
  - Accounts
  - Dimensions
  - Vendors
  - Vendor Groups
  - Vendor Tags
  - Tags
  - Tax Codes
  - VAT Codes
  - Payment Terms
- name: Organization & Access
  tags:
  - Partners
  - Organizations
  - Companies
  - Users
- name: Invoices & Bills
  tags:
  - Invoices
  - Bills
  - Attachments
  - Invoice Approval Flows
  - Invoice Posting Guide
  - Training Invoices
- name: Purchase Orders
  tags:
  - Purchase Orders
  - Purchase Order Line Items
  - Purchase Order Matching Guide
- name: Payments
  tags:
  - Payment Batches
  - Payment Confirmations
  - Credit Confirmations
- name: Reporting
  tags:
  - CSV Reports
- name: Reference
  tags:
  - Changelog