{
    "openapi": "3.1.0",
    "info": {
      "title": "AutoSend API",
      "description": "AutoSend REST API for managing contacts and sending emails",
      "version": "1.0.0"
    },
    "servers": [
      {
        "url": "https://api.autosend.com/v1"
      }
    ],
    "security": [
      {
        "bearerAuth": []
      }
    ],
    "paths": {
      "/mails/send": {
        "post": {
          "summary": "Send Email",
          "description": "Sends a transactional or marketing email. Either templateId OR html/text content must be provided. If using a template, subject is optional."
        }
      },
      "/mails/bulk": {
        "post": {
          "summary": "Bulk Send Email",
          "description": "Sends the same email to multiple recipients in a single API request. This endpoint is identical to the send email endpoint, with the only difference being that `recipients` is an array of recipients instead of a single recipient. Maximum limit: 100 recipients per request."
        }
      },
      "/mails/{id}/status": {
        "get": {
          "summary": "Get Email Status",
          "description": "Retrieves the current delivery status and lifecycle timestamps for a single email using the emailId returned when the email was sent."
        }
      }
    }
  }
  