Skip to content
Browse documentation

API reference

Projects

Resolve a project by slug or custom domain and read its public configuration — name, default currency, enabled features and branding. Call this first to discover which other resource groups are available.

  • GET …/projects/resolve accepts a domain query parameter for custom-domain storefronts.
  • The enabled feature list tells a client which of the groups below will respond.
GET/api/v1/storefront/projects/{project_slug}

Get Public Project

Parameters
NameTypeInDescription
project_slugstringpathRequired.
Response 200 · PublicProjectRead
FieldTypeDescription
idstringrequired—
namestringrequired—
slugstringrequired—
default_currencystringrequired—
timezonestringrequired—
localestringrequired—
descriptionstring (nullable)optional—
logo_file_idinteger (nullable)optional—
brandingobjectrequired—
featuresProjectFeatureName[]required—
Example request
curl "https://api.webtools.ng/api/v1/storefront/projects/your-project" \
  -H "X-Project-Key: wt_pk_your_key"
GET/api/v1/storefront/projects/{project_slug}/seo/indexnow-key.txt

Get Indexnow Key File

Parameters
NameTypeInDescription
project_slugstringpathRequired.
Example request
curl "https://api.webtools.ng/api/v1/storefront/projects/your-project/seo/indexnow-key.txt" \
  -H "X-Project-Key: wt_pk_your_key"
GET/api/v1/storefront/projects/resolve

Resolve Project

Parameters
NameTypeInDescription
slugstring (nullable)queryOptional.
domainstring (nullable)queryOptional.
Response 200 · PublicProjectRead
FieldTypeDescription
idstringrequired—
namestringrequired—
slugstringrequired—
default_currencystringrequired—
timezonestringrequired—
localestringrequired—
descriptionstring (nullable)optional—
logo_file_idinteger (nullable)optional—
brandingobjectrequired—
featuresProjectFeatureName[]required—
Example request
curl "https://api.webtools.ng/api/v1/storefront/projects/resolve" \
  -H "X-Project-Key: wt_pk_your_key"

← All resource groups