Sites API
List the sites on your account and read each site's full profile, content settings, and article usage.
List sites
bash
GET /v1/sites
curl https://api.indexpine.com/v1/sites \
-H "Authorization: Bearer ip_live_..."json
{
"sites": [
{
"id": "site_01hx9z...",
"domain": "myblog.com",
"name": "My Blog",
"niche": "B2B SaaS marketing",
"language": "en-US",
"autopilotEnabled": true,
"articlesThisMonth": 14,
"articlesAllTime": 87,
"createdAt": "2024-11-01T10:00:00Z"
}
],
"nextCursor": null
}Get a site
bash
GET /v1/sites/{site_id}
curl https://api.indexpine.com/v1/sites/site_01hx9z \
-H "Authorization: Bearer ip_live_..."Get site settings
Returns the full site profile including niche, target market, competitors, audience personas, tone settings, and CMS configuration.
bash
GET /v1/sites/{site_id}/settings