WordPress

Save a run's result to the site: SEO texts into Yoast SEO / Rank Math (or the excerpt; includeTitle also sets the title), the chosen alt texts into the media library, or a draft whose automatic save failed

post/wordpress/connections/{connectionId}/runs/{runId}/apply

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/wordpress/connections/{connectionId}/runs/{runId}/apply
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

connectionIdstring uuid required
runIdstring uuid required

Request body

attachmentIdsinteger[]

Alt texts: apply only these images (default: all proposed)

includeTitleboolean

SEO without Yoast or Rank Math: also replace the page title with the SEO title (default false)

Response

Saved

idstring uuid required
task'write' | 'rewrite' | 'seo' | 'alt_text' | 'translate' required
status'running' | 'ready' | 'applied' | 'failed' required
languagestring nullable required
appliedAttachmentIdsinteger[] required
applyErrorstring nullable required
createdAtstring required

ISO-8601 timestamp

finishedAtstring nullable required

ISO-8601 timestamp

appliedAtstring nullable required

ISO-8601 timestamp

createdBystring uuid nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.