---
title: "Auto-fix SEO issues on pages"
method: POST
path: "/v3/seo-audit/audit-issues/autofix"
tags: ["SEO Audit"]
---

# Auto-fix SEO issues on pages

`POST /v3/seo-audit/audit-issues/autofix`

Applies SnowSEO's automatic fixes for the given issues on the given pages, writing the changes to the connected CMS. This MODIFIES the live site and SPENDS CREDITS - always confirm the pages and issues with the user first, and quote the cost first. Issues from seo_audit and page_speed_issues alike carry an `autofixCredits` field holding the exact credits that fix will charge on that page: image-alt is charged per image so its cost scales with the image count, and most PageSpeed fixes are deterministic and free. Handles both SEO and PageSpeed slugs - only issues with an auto-fixable slug can be fixed, and those two tools report which. Requires the SnowSEO WordPress plugin to be connected - auto-fix is not available on other CMS platforms, and some fixes need a recent plugin version. Runs in the background; poll autofix_status for what actually landed.

## Request body

- object
  - `teamId` string, required — SnowSEO team ID. Call list_teams first to choose a team.
  - `pageUrl` string — Full URL of a single page to fix, e.g. https://example.com/pricing.
  - `slugs` string[] — SnowSEO issue slugs to fix on that page, as reported by seo_audit or page_speed_issues.
  - `customInstructions` string — Optional guidance applied to every fix in this request, e.g. 'keep the brand name at the end of every title'. It ALSO enables AI for fixes that are normally deterministic, so it can handle cases a rule cannot - for example removing a theme-injected H1 even when the page has only one. Charged per character per page ON TOP of the per-issue cost, so quote the extra to the user before sending it.

## Response `200`

Default Response

---

[API](https://skmtc.net/snowseo/apis/snowseo-api.md) · [All operations](https://skmtc.net/snowseo/apis/snowseo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/snowseo/snowseo-api/revisions/c8f1f876a92c/schema)
