XSKY emails API

EmailController Operations about Email

Operations 3

POST /emails/ #
GET /emails/config #
PATCH /emails/config #

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/xsky-emails-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

xsky-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: XMS is the controller of distributed storage system
  version: SDS_4.2.000.0.200302
  title: XMS access-paths Emails API
  contact: {}
  license:
    name: Commercial
servers:
- url: /v1
tags:
- name: emails
  description: 'EmailController Operations about Email

    '
paths:
  /emails/:
    post:
      tags:
      - emails
      description: send email
      operationId: SendEmail
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailSendReq'
        description: email info
        required: true
  /emails/config:
    get:
      tags:
      - emails
      description: setup email configs
      operationId: GetEmailConfig
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailConfigResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
    patch:
      tags:
      - emails
      description: setup email configs
      operationId: UpdateEmailConfig
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailConfigResp'
        400:
          description: BadRequest
        500:
          description: InternalServerError
      security:
      - tokenInQuery: []
      - tokenInHeader: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailConfigUpdateReq'
        description: email config info
        required: true
components:
  schemas:
    Email:
      type: object
      properties:
        body:
          type: string
        content_type:
          type: string
        from:
          type: string
        subject:
          type: string
        to:
          type: array
          items:
            type: string
      title: Email
      description: Email defines email model
      example:
        content_type: content_type
        subject: subject
        from: from
        to:
        - to
        - to
        body: body
    EmailConfig:
      type: object
      properties:
        enabled:
          type: boolean
        smtp_enable_ssl:
          type: boolean
        smtp_host:
          type: string
        smtp_password:
          type: string
        smtp_port:
          type: integer
          format: int64
        smtp_skip_tls_cert_verify:
          type: boolean
        smtp_user:
          type: string
        subject:
          type: string
      title: EmailConfig
      description: EmailConfig define email config
      example:
        smtp_password: smtp_password
        smtp_port: 0
        smtp_user: smtp_user
        smtp_skip_tls_cert_verify: true
        subject: subject
        smtp_host: smtp_host
        smtp_enable_ssl: true
        enabled: true
    EmailResp:
      type: object
      properties:
        email:
          $ref: '#/components/schemas/Email'
      title: EmailResp
      example:
        email:
          content_type: content_type
          subject: subject
          from: from
          to:
          - to
          - to
          body: body
    EmailConfigResp:
      type: object
      properties:
        email_config:
          $ref: '#/components/schemas/EmailConfig'
      title: EmailConfigResp
      example:
        email_config:
          smtp_password: smtp_password
          smtp_port: 0
          smtp_user: smtp_user
          smtp_skip_tls_cert_verify: true
          subject: subject
          smtp_host: smtp_host
          smtp_enable_ssl: true
          enabled: true
    EmailConfigUpdateReq:
      type: object
      properties:
        email_config:
          $ref: '#/components/schemas/EmailConfigUpdateReq_EmailConfig'
      title: EmailConfigUpdateReq
      example:
        email_config:
          smtp_password: smtp_password
          smtp_port: 0
          smtp_user: smtp_user
          smtp_skip_tls_cert_verify: true
          subject: subject
          smtp_host: smtp_host
          smtp_enable_ssl: true
          enabled: true
    EmailSendReq_Email:
      type: object
      required:
      - body
      - to
      properties:
        body:
          type: string
        content_type:
          type: string
          description: content type, 'text/plain' or 'text/html'
        to:
          type: array
          items:
            type: string
      title: EmailSendReq_Email
      example:
        content_type: content_type
        to:
        - to
        - to
        body: body
    EmailConfigUpdateReq_EmailConfig:
      type: object
      properties:
        enabled:
          type: boolean
        smtp_enable_ssl:
          type: boolean
        smtp_host:
          type: string
        smtp_password:
          type: string
        smtp_port:
          type: integer
          format: int64
        smtp_skip_tls_cert_verify:
          type: boolean
        smtp_user:
          type: string
        subject:
          type: string
      title: EmailConfigUpdateReq_EmailConfig
      example:
        smtp_password: smtp_password
        smtp_port: 0
        smtp_user: smtp_user
        smtp_skip_tls_cert_verify: true
        subject: subject
        smtp_host: smtp_host
        smtp_enable_ssl: true
        enabled: true
    EmailSendReq:
      type: object
      properties:
        email:
          $ref: '#/components/schemas/EmailSendReq_Email'
        email_config:
          $ref: '#/components/schemas/EmailConfig'
      title: EmailSendReq
      description: EmailSendReq defines the data of email sending
      example:
        email:
          content_type: content_type
          to:
          - to
          - to
          body: body
        email_config:
          smtp_password: smtp_password
          smtp_port: 0
          smtp_user: smtp_user
          smtp_skip_tls_cert_verify: true
          subject: subject
          smtp_host: smtp_host
          smtp_enable_ssl: true
          enabled: true
  securitySchemes:
    tokenInHeader:
      description: auth by token
      type: apiKey
      name: Xms-Auth-Token
      in: header
    tokenInQuery:
      description: auth by token
      type: apiKey
      name: token
      in: query