---
title: "AI spam rewrite"
full: true
_openapi:
  method: POST
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Rewrites email subject and body copy to eliminate spam triggers and maximize inbox placement. Uses Gemini Free tier with local deliverability fallback."
_apiData:
  document: "https://reloop.sh/api/tools/openapi/json"
  operationData: [{"path":"/api/tools/v1/spam-check/rewrite","method":"post"}]
  parameterList: [{"name":"subject","type":"string","required":false,"description":"","location":"body","maxLength":1000},{"name":"body","type":"string","required":false,"description":"","location":"body","maxLength":50000}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"subject":"Welcome to Reloop","body":"example_body","provider":"example_provider"}},"400":{"description":"Response for status 400","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}},"429":{"description":"Response for status 429","schema":{"message":"Contact already exists","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead.","link":"https://reloop.sh/docs/api/contacts"}}}
  codeSamples: []
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
