Sonatype Nexus Repository Email API

The Email API from Sonatype Nexus Repository — 2 operation(s) for email.

Operations 4

GET /v1/email Retrieve the current email configuration #
PUT /v1/email Set the current email configuration #
DELETE /v1/email Disable and clear the email configuration #
POST /v1/email/verify Send a test email to the email address provided in the request body #

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/nexus:nexus-email-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

nexus-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nexus Repository Manager REST Email API
  version: 3.97.2-02
servers:
- url: /service/rest
tags:
- name: Email
paths:
  /v1/email:
    get:
      tags:
      - Email
      summary: Retrieve the current email configuration
      operationId: listEmail
      responses:
        '200':
          description: Email configuration returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEmailConfiguration'
        '403':
          description: Insufficient permissions to retrieve the email configuration
    put:
      tags:
      - Email
      summary: Set the current email configuration
      operationId: updateEmail
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiEmailConfiguration'
        required: true
      responses:
        '204':
          description: Email configuration was successfully updated
        '400':
          description: Invalid request
        '403':
          description: Insufficient permissions to update the email configuration
    delete:
      tags:
      - Email
      summary: Disable and clear the email configuration
      operationId: deleteEmail
      responses:
        '204':
          description: Email configuration was successfully cleared
  /v1/email/verify:
    post:
      tags:
      - Email
      summary: Send a test email to the email address provided in the request body
      operationId: createEmailVerify
      requestBody:
        description: An email address to send a test email to
        content:
          '*/*':
            schema:
              type: string
              format: email
        required: true
      responses:
        '200':
          description: Test email was sent successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEmailValidation'
        '400':
          description: There was a problem sending the test email
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEmailValidation'
        '403':
          description: Insufficient permissions to verify the email configuration
components:
  schemas:
    ApiEmailConfiguration:
      required:
      - fromAddress
      - host
      - port
      type: object
      properties:
        enabled:
          type: boolean
        host:
          minLength: 1
          type: string
        port:
          type: integer
          format: int32
        username:
          type: string
        password:
          type: string
        fromAddress:
          minLength: 1
          type: string
          format: email
          example: nexus@example.org
        subjectPrefix:
          type: string
          description: A prefix to add to all email subjects to aid in identifying automated emails
        startTlsEnabled:
          type: boolean
          description: Enable STARTTLS Support for Insecure Connections
        startTlsRequired:
          type: boolean
          description: Require STARTTLS Support
        sslOnConnectEnabled:
          type: boolean
          description: Enable SSL/TLS Encryption upon Connection
        sslServerIdentityCheckEnabled:
          type: boolean
          description: Verify the server certificate when using TLS or SSL
        nexusTrustStoreEnabled:
          type: boolean
          description: Use the Nexus Repository Manager's certificate truststore
    ApiEmailValidation:
      type: object
      properties:
        success:
          type: boolean
        reason:
          type: string