Skip to main content
POST
Refresh the project's sitemap

Authorizations

Authorization
string
header
required

A Searchable API key, created under Manage Account → Integrations → API Keys. Send as Authorization: Bearer sea_xxxxx. Every key carries one or more scopes (read, write, admin) and may optionally be bound to a single project — see Getting started.

Headers

Idempotency-Key
string

Optional client-generated key (e.g. a UUID). Retrying with the same key within 24h replays the original stored response (X-Idempotent-Replay: true) instead of repeating the side effect. See Idempotency.

Path Parameters

projectId
string<uuid>
required

The project id.

Body

application/json

Omit the body for a full refresh. urls plus paths hold at most 500 entries.

urls
string[]

Absolute URLs or paths to add if the sitemap lists them.

Required array length: 1 - 500 elements
paths
string[]

Path prefixes, e.g. /product/: every sitemap page at or under one is added (at most 5,000 per call).

Required array length: 1 - 500 elements

Response

A full refresh started, or a targeted refresh's per-input result.

success
boolean
required
jobId
string
required
projectId
string<uuid>
required
message
string
pageSyncJobId
string

The monitored-page sync run (sitemap-sync-pages).