wordpress

Preview Link

Mint a short-lived tokenized preview URL for a page — drafts included. The URL renders the page server-side (theme CSS, Elementor kit, and per-post Elementor CSS all load — same as the published page) with no WP login, so render_screenshot can capture it before publishing. Connector >= 0.7.6 minimum; >= 0.9.10 for CSS to actually render (older connectors mint a working link that renders with NO CSS at all).

post/wordpress/sites/{site_id}/preview-link

Request

  • Base URL: https://api.xeorank.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.xeorank.com/wordpress/sites/{site_id}/preview-link
  • Auth: API key in header X-Agent-Key

Path parameters

site_idstring uuid required

Query parameters

emailstring nullable

Request body

post_idinteger required
ttlinteger nullable
shareboolean

Response

Successful Response

object required

Changes

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