---
updatedAt: 2026-06-08T12:06:26.000Z
agentTools:
  projectIndex: https://salesautopilot.readme.io/llms.txt
---

# Delete a send

Deletes a send from the system. This operation is permanent and cannot be undone.

## Important Notes
- Sends that are currently in progress cannot be deleted
- Historical send statistics may still be accessible after deletion


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Mailing",
    "version": "2.0.0",
    "description": "The Mailing API allows you to manage letters, folders, and email sends in the SalesAutopilot platform.\n\n## Features\n\n### Letters\n- Create new letters with HTML and optional text content\n- Update existing letters (partial updates supported)\n- Delete letters from the system\n- Configure link tracking with custom domains\n- Enable/disable open tracking\n- Integrate with Google Analytics\n- Organize letters in folders\n\n### Letter Folders\n- Create new letter folders\n- Update folder names and project assignments\n- Delete folders (letters are automatically moved to default folder)\n- Organize folders within project folders\n\n### Sends\n- Create new email sends with different sending types\n- Update existing send configurations\n- Retrieve send details\n- Delete sends\n- Send test emails to specific subscribers\n- Support for absolute and relative sending schedules\n- Smart Send functionality for optimized sending times\n- Subscription and data update triggered sends\n\n## Send Types\n- **ABSOLUTE**: Send at a specific date and time\n- **SMART_SEND**: Send on a specific date using AI-optimized times per subscriber\n- **RELATIVE_AFTER_DATE**: Send relative to a date field with day/hour/minute precision\n- **RELATIVE_AFTER_MINUTES**: Send relative to a field after specified hours and minutes\n- **SUBSCRIPTION**: Trigger on subscription (can be filtered by form)\n- **DATA_UPDATE**: Trigger on data modification (can be filtered by form)\n\n## Authentication\nAll API requests require authentication. Use [Authentication](https://salesautopilot.readme.io/reference/login) to obtain a JWT Bearer token, or use **HTTP Basic** with the same API username and password (`Authorization: Basic …`).\n",
    "contact": {
      "name": "SalesAutopilot Support",
      "url": "https://support.salesautopilot.com"
    },
    "termsOfService": "https://salesautopilot.com/terms"
  },
  "servers": [
    {
      "url": "https://api.salesautopilot.com/v2",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "basicAuth": []
    }
  ],
  "tags": [
    {
      "name": "Sends",
      "description": "Manage email sends and campaigns"
    }
  ],
  "paths": {
    "/sends/{sendId}": {
      "delete": {
        "tags": [
          "Sends"
        ],
        "summary": "Delete a send",
        "description": "Deletes a send from the system. This operation is permanent and cannot be undone.\n\n## Important Notes\n- Sends that are currently in progress cannot be deleted\n- Historical send statistics may still be accessible after deletion\n",
        "operationId": "deleteSend",
        "parameters": [
          {
            "name": "sendId",
            "in": "path",
            "required": true,
            "description": "The ID of the send to delete",
            "schema": {
              "type": "integer",
              "example": 999
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Send deleted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Send deleted successfully"
                    }
                  }
                },
                "examples": {
                  "success": {
                    "summary": "Successful deletion",
                    "value": {
                      "success": true,
                      "message": "Send deleted successfully"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "description": "Send not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "notFound": {
                    "summary": "Send not found",
                    "value": {
                      "error": "Send not found",
                      "code": 15000
                    }
                  }
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "JWT token obtained from the [/access-token endpoint](https://salesautopilot.readme.io/reference/login).\n\nInclude the token in the Authorization header:\n```\nAuthorization: Bearer YOUR_JWT_TOKEN\n```\n"
      },
      "basicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "HTTP Basic authentication using your API username and password.\n```\nAuthorization: Basic BASE64(username:password)\n```\n"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error",
          "code"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Human-readable error message",
            "example": "Error message"
          },
          "code": {
            "type": "integer",
            "description": "Error code for programmatic handling",
            "example": 10000
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid authentication token",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "unauthorized": {
                "summary": "Authentication required",
                "value": {
                  "error": "Unauthorized",
                  "code": 401
                }
              }
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "Rate limit exceeded",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "rateLimited": {
                "summary": "Too many requests",
                "value": {
                  "error": "Too many requests. Please wait before making another request to this endpoint.",
                  "code": 429
                }
              }
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "serverError": {
                "summary": "Server error",
                "value": {
                  "error": "Internal server error",
                  "code": 500
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "php",
      "javascript",
      "python"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````