wordpress
Upload Media Ep
Sideload an image (from a URL, or from base64 bytes a client already has locally) into the site's WordPress media library and return the HOSTED url — use it in a sections image widget or swap an image via wp_patch_page. Write-gated. Plugin transport needs Xyle Connector >= 0.2.0 (>= 0.9.8 for image_data). image_data is plugin-transport only — SSH sites must host the image publicly and use image_url.
post/wordpress/sites/{site_id}/media
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}/media
- Auth: API key in header X-Agent-Key
Path parameters
site_idstring uuid required
Query parameters
emailstring nullable
Request body
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.