Browse developer documentation
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
| Field | Type | Description |
|---|---|---|
--domainRequired | string | Public domain or HTTP(S) address. |
--confirmRequired | boolean | Required confirmation of the account holder's website details. |
--name | string | Website name; defaults to the domain. |
--currency | string | Supported three-letter currency. Default: |
--timezone | string | IANA timezone. Default: |
--json | boolean | Compact JSON instead of formatted JSON. |
--csv | boolean | CSV 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 --confirmExample output
Illustrative stdout
{
"site": {
"id": "site_example",
"domain": "shop.example.com",
"currency": "USD",
"name": "Example shop",
"timezone": "UTC"
},
"created": true
}Output fields
| Field | Type | Description |
|---|---|---|
site | object | Returned website details. |
created | boolean | Whether 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.