Harness SMTP API

This contains APIs related to SmtpConfig as defined in Harness

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /ng/api/smtpConfig/{identifier} Delete the SMTP configuration · Delete Smtp Config by identifier #
Ask an LLM
“How do I remove the SMTP server configuration from my account?”
“Can I delete an SMTP config by its identifier?”
Tell an agent destructive · confirm first
Delete SMTP config {smtp_id}.
Remove the SMTP settings {smtp_id} from account {account}.
GET /ng/api/smtpConfig Get the account's SMTP configuration · Gets Smtp config by accountId #
Ask an LLM
“Which SMTP server does Harness use to send email for my account?”
“Is an SMTP configuration set up on my account?”
Tell an agent
Show the SMTP configuration.
Get the SMTP config for account {account}.
PUT /ng/api/smtpConfig Update the SMTP configuration · Updates the Smtp Config #
Ask an LLM
“How do I change the SMTP host or credentials Harness sends mail through?”
“Can I rename an existing SMTP configuration?”
Tell an agent
Update SMTP config {name} for account {account} with settings {value}.
Change SMTP config {uuid} to use settings {value}, named {name}, on account {account}.
POST /ng/api/smtpConfig Create an SMTP configuration · Creates SMTP config #
Ask an LLM
“How do I set up an SMTP server so Harness can send notification emails?”
“What do I need to provide to add a new SMTP config?”
Tell an agent
Create SMTP config {name} for account {account} with settings {value}.
Add a new mail server config named {name} using {value} on account {account}.
POST /ng/api/smtpConfig/validate-connectivity Send a test email through the SMTP config · Tests the config's connectivity by sending a test email #
Ask an LLM
“How can I check my SMTP settings work by sending a test email?”
“Can I choose the recipient and subject of the SMTP test message?”
Tell an agent
Send a test email via SMTP config {smtp_id} to {to} with subject {subject} and body {body}, account {account}.
Test SMTP {smtp_id} by emailing {to}: subject {subject}, message {body}, account {account}.
POST /ng/api/smtpConfig/validateName Check an SMTP config name is available · Checks whether other connectors exist with the same name #
Ask an LLM
“Is the name I want for an SMTP config already used by another connector?”
“Can I check a name is free before creating the SMTP config?”
Tell an agent
Check whether name {name} is free for an SMTP config in account {account}.
Verify no other connector in account {account} is called {name}.

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/harness:harness-smtp-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

harness-smtp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness SMTP API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (67 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-smtp-api-openapi.yml