Skip to developer documentation
Browse developer documentation
CLI documentation / Websites

Add a website

attriboo sites add

Create or reuse a website after confirming its details with the account holder.

Access: OAuth analytics:read sites:write; workspace owner/admin

Options

attriboo sites add options
FieldTypeDescription
--domainRequiredstringPublic domain or HTTP(S) address.
--confirmRequiredbooleanRequired confirmation of the account holder's website details.
--namestringWebsite name; defaults to the domain.
--currencystringSupported three-letter currency.

Default: USD.

--timezonestringIANA timezone.

Default: UTC.

--jsonbooleanCompact JSON instead of formatted JSON.
--csvbooleanCSV for the main row collection; nested values remain JSON cells. Cannot be combined with --json.

Add a confirmed website

Replace example websites, dates and cursor values with your own. Running these commands makes real requests or changes the local session.

Terminal command
attriboo sites add --domain shop.example.com --name "Example shop" --currency USD --timezone UTC --confirm

Example output

Illustrative stdout
{
  "site": {
    "id": "site_example",
    "domain": "shop.example.com",
    "currency": "USD",
    "name": "Example shop",
    "timezone": "UTC"
  },
  "created": true
}

Output fields

attriboo sites add output fields
FieldTypeDescription
siteobjectReturned website details.
createdbooleanWhether a website was created.

The data follows the create a website API contract. CLI JSON omits the REST envelope.

Behavior and limits

Run attriboo login --setup first. Existing workspace keys cannot call this operation. Confirm domain, name, currency and timezone before passing --confirm.

The current plan's website allowance is enforced. Repeated requests for the same domain reuse the existing website. This does not purchase an upgrade or connect payments.