Content

Create or update a product scraper configuration

put/api/v1/products/{productId}/scraper

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/products/{productId}/scraper
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

productIdstring required

Request body

startUrlsstring[] required
baseUrlsstring[] required
cssSelectorstring
cssExcludeSelectorstring nullable
customHeadersobject
frequencyType'weekly' | 'monthly'
frequencyCountinteger
pollingPausedboolean

Response

Successful response

oktrue required

Changes

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