Skip to content
Browse documentation

API reference

Storefront Agent

GET/api/v1/storefront/projects/{project_slug}/agent-docs

Get Agent Docs

Parameters
NameTypeInDescription
project_slugstringpathRequired.
format"markdown" | "json"queryOptional.
Example request
curl "https://api.webtools.ng/api/v1/storefront/projects/your-project/agent-docs" \
  -H "X-Project-Key: wt_pk_your_key"
POST/api/v1/storefront/projects/{project_slug}/seed

Seed Project

Parameters
NameTypeInDescription
project_slugstringpathRequired.
Idempotency-Keystring (nullable)headerOptional.
Request body · SeedRequest
FieldTypeDescription
dry_runbooleanoptional—
catalogueSeedCatalogueSection (nullable)optional—
contentSeedContentSection (nullable)optional—
servicesSeedServicesSection (nullable)optional—
past_worksSeedPastWorksSection (nullable)optional—
landing_pagesSeedLandingPagesSection (nullable)optional—
crmSeedCrmSection (nullable)optional—
Response 200 · SeedResponse
FieldTypeDescription
dry_runbooleanrequired—
resultsobjectoptional—
Example request
curl -X POST "https://api.webtools.ng/api/v1/storefront/projects/your-project/seed" \
  -H "X-Project-Key: wt_pk_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "dry_run": true, "catalogue": "…", "content": "…", "services": "…", "past_works": "…", "landing_pages": "…" }'

← All resource groups