cURL
Content endpoints
Get Site Page Slugs
Resolve persisted, stable page URL slugs for a site using page hierarchy data.
GET
cURL
Overview
The/v2/orgs/{orgId}/sites/{siteId}/page-slug endpoint resolves complete page URL paths from persisted site page records.
Use this endpoint when you need stable links for destination, guide, and area pages without reconstructing URLs from mutable names.
The API uses persisted page slug values and parentId relationships.
Returned slug and segments values are microsite-relative.
The resolver strips the site-root prefix (including reverse-proxy roots like /local-guides) so responses are not coupled to infrastructure paths.
Request
Required parameters
| Parameter | Type | Description |
|---|---|---|
orgId | string | Your organisation ID. |
siteId | string | The site ID to resolve page slugs for. |
Optional filters
| Parameter | Type | Description |
|---|---|---|
destinationId | string | Limit results to pages linked to a destination. |
guideId | string | Limit results to pages linked to a guide. |
locationId | string | Limit results to pages linked to a location/area. |
Examples
Get full site slug tree
Get matches for a specific guide
Example tree response
Example filtered response
Response notes
modeistreewhen no filters are supplied.modeismatcheswhen one or more filters are supplied.slugalways includes a leading and trailing slash.slugandsegmentsare returned relative to the microsite root, not the reverse-proxy prefix.- Root pages include
homepageSlug: "/". - The endpoint returns all matches. It does not pick a single page when multiple pages match.
Authorizations
Path Parameters
Organization Account Number
Site identifier used to scope page slug resolution
Query Parameters
Destination identifier used to resolve destination/root and destination-scoped page slugs
Guide identifier used to fetch listings for a specific guide
Location identifier used to resolve area page slugs