List articles
GET /content: published articles, newest first, paginated.
GET https://api.seoforsaas.dev/api/v1/projects/{projectId}/content?page=1&limit=100| Query | Default | |
|---|---|---|
page | 1 | 1-based. |
limit | 20 | At most 100; larger values are capped. |
curl "https://api.seoforsaas.dev/api/v1/projects/YOUR_PROJECT_ID/content?page=1&limit=100" \ -H "Authorization: Bearer $SEOFORSAAS_CONTENT_KEY"Response
{ "success": true, "data": [{ "id": "…", "slug": "…", "title": "…", "blocks": [], "seo": {} }], "pagination": { "page": 1, "limit": 100, "total": 64, "totalPages": 1, "hasNext": false, "hasPrev": false }}Each item is a full article, blocks and SEO included, without related (that comes with a single read). Follow pagination.hasNext to read everything; the TypeScript client's listAllArticles() does it for you. For a sitemap, read the sitemap endpoint instead: one request, no bodies, and the dates Google should see.