SMTP2GO · Example Payload

Send Email Example

Example request for the POST /email/send endpoint

EmailEmail DeliveryTransactional EmailSMTPSMSEmail APIDeliverabilityWebhookMessagingCommunicationsMCPAgent Skills

Send Email Example is an example object payload from SMTP2GO, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionrequestresponse

Example Payload

Raw ↑
{
  "summary": "Send a standard transactional email",
  "description": "Example request for the POST /email/send endpoint",
  "request": {
    "method": "POST",
    "url": "https://api.smtp2go.com/v3/email/send",
    "headers": {
      "Content-Type": "application/json",
      "X-Smtp2go-Api-Key": "api-key-here"
    },
    "body": {
      "sender": "Your App <no-reply@yourdomain.com>",
      "to": [
        "Customer Name <customer@example.com>"
      ],
      "cc": [],
      "bcc": [],
      "subject": "Your Order Confirmation #12345",
      "html_body": "<h1>Thank you for your order!</h1><p>Your order #12345 has been confirmed.</p>",
      "text_body": "Thank you for your order! Your order #12345 has been confirmed."
    }
  },
  "response": {
    "status": 200,
    "body": {
      "request_id": "aa253464-0bd0-467a-b24b-6159dcd7be60",
      "data": {
        "succeeded": 1,
        "failed": 0,
        "failures": [],
        "email_id": "1m4n8l-8jg3j1-7r"
      }
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/send-email-example"
All examples
curl "https://apis.io/api/v1/examples?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.