API Reference

Overview

Add Schedule Items

The Snapshot Add Schedule Items API lets you add one or more website screenshot targets to an existing screenshot schedule. Each schedule item can define its target URL and capture settings, including viewport dimensions, full-page screenshots, image format, quality, delays, page loading conditions, CSS selectors, element capture, custom User-Agent and language settings, and optional HTML or text extraction. Use this endpoint when you need to expand an existing scheduled screenshot workflow with additional pages or websites without creating a new schedule.

Endpoint

POSThttps://snapshot-api.mindiqglobal.com/api/v1/schedules/{scheduleId}/items

Path Parameters

NameRequiredTypeDescription
scheduleIdYesintegerSchedule ID.

Request Body

[
  {
    "url": "https://example.com/pricing",
    "width": 1440,
    "height": 900,
    "fullPage": true,
    "format": "png",
    "responseType": "json",
    "quality": 100,
    "delay": 0,
    "waitUntil": "page_loaded",
    "extractHtml": false,
    "extractText": false
  }
]

Request Body Parameters

FieldRequiredTypeDescription
[]YesarrayArray of schedule items to add.
[].urlYesstringTarget URL (http:// or https://).
[].widthNointegerViewport width. Expected positive integer (for example, 1280, 1920).
[].heightNointegerViewport height. Expected positive integer (for example, 720, 1080).
[].fullPageNobooleanCapture full page. Possible values: true, false. Cannot be combined with crop or element.
[].formatNoenumImage format. Possible values: png, jpeg.
[].responseTypeNoenumScheduled captures support json only.
[].qualityNointegerJPEG quality. Allowed range: 0-100.
[].delayNonumberCapture delay in seconds. Allowed range: 0-10.
[].waitUntilNoenumdom_loaded, page_loaded, network_idle.
[].waitUntilTimeoutNonumberAllowed range: 1-30 seconds.
[].waitForNostringCSS selector to wait for before capture (max wait 15s).
[].cropNostringCrop rectangle left,top,width,height. Cannot be combined with fullPage or element.
[].elementNostringCapture first matching element selector. Cannot be combined with fullPage or crop.
[].thumbnailWidthNointegerPositive integer. Preserves aspect ratio.
[].userAgentNostringCustom user-agent.
[].acceptLanguageNostringCustom accept-language.
[].extractHtmlNobooleanDefault false. Only with responseType=json.
[].extractTextNobooleanDefault false. Only with responseType=json.

Success Response

[
  {
    "id": 45,
    "url": "https://example.com/pricing",
    "width": 1440,
    "height": 900,
    "fullPage": true,
    "format": "png",
    "responseType": "json",
    "quality": 100,
    "delay": 0,
    "waitUntil": "page_loaded",
    "waitUntilTimeout": 15,
    "waitFor": null,
    "crop": null,
    "element": null,
    "thumbnailWidth": null,
    "userAgent": null,
    "acceptLanguage": null,
    "extractHtml": false,
    "extractText": false,
    "createdAt": "2026-08-06T12:00:00Z",
    "updatedAt": "2026-08-06T12:00:00Z"
  }
]

Response Body Parameters

NameTypeDescription
[]arrayAdded schedule items.
[].idintegerSchedule item ID.
[].urlstringTarget URL.
[].widthinteger | nullViewport width.
[].heightinteger | nullViewport height.
[].fullPagebooleanFull page flag. Possible values: true, false.
[].formatenumPossible values: png, jpeg.
[].responseTypeenumScheduled captures use json.
[].qualityinteger | nullJPEG quality (0-100).
[].delaynumber | nullCapture delay in seconds.
[].waitUntilenum | nulldom_loaded, page_loaded, network_idle.
[].waitUntilTimeoutnumber | nullwait_until timeout in seconds.
[].waitForstring | nullCSS selector wait target.
[].cropstring | nullCrop rectangle left,top,width,height.
[].elementstring | nullElement selector target.
[].thumbnailWidthinteger | nullThumbnail width.
[].userAgentstring | nullCustom user-agent.
[].acceptLanguagestring | nullCustom accept-language.
[].extractHtmlbooleanExtract HTML enabled state.
[].extractTextbooleanExtract text enabled state.
[].createdAtdatetimeItem creation datetime in ISO-8601 format.
[].updatedAtdatetimeItem update datetime in ISO-8601 format.