Discover URLs on a domain
Crawls a domain to build a sitemap. Returns cached results if available within cache_ttl. Results delivered via webhook and downloadable from results_url. Webhook deliveries include `X-ByteKit-Event: sitemap.completed` or `X-ByteKit-Event: sitemap.failed` so receivers can dispatch on the header without parsing the body shape.
Authorization
AuthorizationRequiredBearer <token>API key. Manage keys from the dashboard at app.bytekit.com.
In: header
Request Body
application/jsonRequiredurlRequiredstring"uri"strategystring"standard"Value in: "quick" | "standard" | "deep"max_depthinteger2Minimum: 1Maximum: 5max_urlsinteger5000Minimum: 1Maximum: 100000processobject | nullnullwebhook_urlstringOptional webhook endpoint URL (HTTPS only; http:// rejected with 400 invalid_url, reason scheme_unsupported). When omitted, no sitemap.completed/sitemap.failed webhook is delivered and the job is poll-only via GET /v1/sitemap/{id}. When present, delivery is unchanged. webhook_secret is ignored when webhook_url is absent.
"^https://"Format: "uri"webhook_secretstring | nullnullcache_ttlstringMax 90 days.
"30d"Pattern: "^(0|\\d+[dh])$"compactbooleanfalsemetadataobjectArbitrary key-value metadata. Max 4096 bytes when JSON-serialized.
Sitemap job accepted (or cached result returned).