> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Get content-only XML sitemap

**Publié le** : 2026-07-04
**Catégorie** : SEO & Analytics

## `GET /seo/sitemap-content.xml`

**Get content-only XML sitemap**

Returns an XML `<urlset>` of the site's content URLs only (always a
flat urlset, never a sitemap index). On multi-language sites each
`<url>` also carries `xhtml:link` hreflang alternates plus an
`x-default`.

Required permissions: `sitemap.view`

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized, invalid or missing API token |
| `403` | Forbidden, insufficient permissions |


### Examples

```bash
# Returns XML - pipe to file or parse with xmllint
curl https://api.lynkow.com/v1/seo/sitemap-content.xml \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
"The response is an XML document following the sitemap protocol:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\">\n  <url>\n    <loc>https://www.example.com/blog/getting-started</loc>\n    <lastmod>2026-05-30</lastmod>\n    <changefreq>weekly</changefreq>\n    <priority>0.8</priority>\n    <xhtml:link rel=\"alternate\" hreflang=\"en\" href=\"https://www.example.com/blog/getting-started\" />\n    <xhtml:link rel=\"alternate\" hreflang=\"fr\" href=\"https://www.example.com/fr/blog/demarrer\" />\n    <xhtml:link rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.example.com/blog/getting-started\" />\n  </url>\n  <url>\n    <loc>https://www.example.com/about</loc>\n    <lastmod>2026-04-18</lastmod>\n    <changefreq>monthly</changefreq>\n    <priority>0.5</priority>\n  </url>\n</urlset>\n"
```

---