Lightrun SMTP connectivity configuration API

SMTP connectivity configuration API

Operations 2

GET /api/v1/configuration/connectivity/smtp Get SMTP connectivity configuration #
POST /api/v1/configuration/connectivity/smtp Set SMTP connectivity configuration #

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/lightrun-smtp-connectivity-configuration-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

lightrun-smtp-connectivity-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Lightrun API documentation
  title: Lightrun SMTP connectivity configuration API
  version: v1
servers:
- url: http://localhost:8090
  description: Generated server url
tags:
- description: SMTP connectivity configuration API
  name: SMTP connectivity configuration
paths:
  /api/v1/configuration/connectivity/smtp:
    get:
      description: 'Get a JSON file with the current Lightrun SMTP connectivity configuration settings.


        **Required API permission level:** `COMPANY`'
      operationId: get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmtpConnectivityConfigurationReadDTO'
          description: Returns the complete SMTP connectivity configuration
      security:
      - API Token: []
      summary: Get SMTP connectivity configuration
      tags:
      - SMTP connectivity configuration
    post:
      description: 'Set the Lightrun SMTP connectivity configuration settings.


        **Required API permission level:** `COMPANY`'
      operationId: set
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmtpConnectivityConfigurationWriteDTO'
        required: true
      responses:
        '200':
          description: Write complete SMTP connectivity configuration
        '400':
          description: Bad request, Usually due to invalid input.
      security:
      - API Token: []
      summary: Set SMTP connectivity configuration
      tags:
      - SMTP connectivity configuration
components:
  schemas:
    SmtpCustomConnectivitySpecDTO:
      type: object
      description: Custom SMTP connectivity mandatory arguments specification
      properties:
        authenticationId:
          type: string
          description: 'The SMTP server identifier for authentication: user name or API key name; for the custom SMTP server only'
        authenticationSecret:
          type: string
          description: 'The SMTP server secret for authentication: password or API key value; for the custom SMTP server only'
        authenticationType:
          type: string
          default: DISABLED
          description: The SMTP connectivity authentication type for the custom SMTP server
          enum:
          - DISABLED
          - PASSWORD
          - APIKEY
        enableSSL:
          type: boolean
          default: true
          description: Whether secured HTTP is required; for the custom SMTP server only
        enableStartTLS:
          type: boolean
          default: true
          description: Whether StartTLS protocol is required; for the custom SMTP server only
        fromEmailAddress:
          type: string
          format: email
          description: The email address that will appear in the ‘from’ field of the system generated emails
        serverHost:
          type: string
          description: Custom SMTP server host or IP address
          minLength: 1
        serverPort:
          type: integer
          format: int32
          default: 587
          description: Custom SMTP server port
      required:
      - authenticationType
      - enableSSL
      - enableStartTLS
      - fromEmailAddress
      - serverHost
      - serverPort
    SmtpConnectivityConfigurationReadDTO:
      type: object
      description: A read only view of the SMTP connectivity configuration
      properties:
        authenticationId:
          type: string
          description: 'The SMTP server identifier for authentication: user name or API key name; for the custom SMTP server only'
        authenticationSecret:
          type: string
          description: 'The SMTP server secret for authentication: password or API key value; for the custom SMTP server only'
        authenticationType:
          type: string
          description: The SMTP connectivity authentication type for the custom SMTP server
          enum:
          - DISABLED
          - PASSWORD
          - APIKEY
        enableSSL:
          type: boolean
          description: Whether secured HTTP is required; for the custom SMTP server only
        enableStartTLS:
          type: boolean
          description: Whether StartTLS protocol is required; for the custom SMTP server only
        fromEmailAddress:
          type: string
          description: The email address that will appear in the ‘from’ field of the system generated emails
        serverHost:
          type: string
          description: Custom SMTP server host or IP address
        serverPort:
          type: integer
          format: int32
          default: 587
          description: Custom SMTP server port
        type:
          type: string
          default: DEFAULT
          description: SMTP service configuration type
          enum:
          - DISABLED
          - DEFAULT
          - CUSTOM
          example: DEFAULT
    SmtpConnectivityConfigurationWriteDTO:
      type: object
      description: SMTP connectivity configuration mutation DTO
      properties:
        customSpec:
          $ref: '#/components/schemas/SmtpCustomConnectivitySpecDTO'
          description: The custom SMTP connectivity mandatory arguments specification
        type:
          type: string
          default: DEFAULT
          description: SMTP service configuration type
          enum:
          - DISABLED
          - DEFAULT
          - CUSTOM
          example: DEFAULT
      required:
      - type
  securitySchemes:
    API_Token:
      scheme: bearer
      type: http