Queue homepage screenshots for this directory’s listings
Captures each listing’s own website and attaches the result as a site_screenshot media asset, which gets the extra 400x267 site variant cropped from the top. Ordinary media from there on — it appears in listing reads and sorts below anything an editor chose.
Asynchronous. The response reports what was queued, not what was captured; poll GET .../screenshots for coverage.
Only listings with a resolvable website are eligible — website, url, homepage or organizerWebsite in canonicalFields, with a series_of child inheriting its parent series’ site. listingsWithoutUrl in the response is the honest gap: those listings will never get a screenshot from any number of runs.
Listings that already have one are skipped unless you pass force, so re-running is cheap. Never-captured listings are queued before stale ones, so successive runs rotate through a directory bigger than the per-run cap instead of retrying the same slice forever.
Respects enrichmentPolicy.probe === false, which short-circuits before anything is queued.
Sizing. The site variant defaults to 400x267 — 400 wide at the capture's own 3:2. Send width alone to change it and the height follows that aspect. To make a size stick across every sweep, set enrichmentPolicy.screenshot on the directory instead; width/height here override it for one run. The resolved geometry comes back as siteVariant.
Request
- Base URL: https://api.epicdirectories.com
- URL: https://api.epicdirectories.com/public/v1/directories/{directory}/screenshots
- Auth: API key in header x-api-key
Path parameters
Headers
Optional. Send a unique key per logical operation to make retries safe. 1-256 characters, and only letters, digits, - and _ — colons and other separators are rejected with 400. A retry with the same key replays the original response (status + body) instead of re-executing. Cached for 24h. Reusing a key with a different request body returns 409 — note that a timestamp in the body (e.g. fetchedAt) turns an otherwise-stable key into a permanent 409, so either omit it (snapshots default it server-side) or fold a payload digest into the key. Skipped on 5xx responses (transient errors should be retried fresh).
API Key for authentication
Request body
Example request
{
"listingSlugs": [
"acme-digital",
"bizapedia"
]
}Response
Captures queued; body reports the counts
Changes
No recorded changes to this operation across all 1 revision of this API.