Browse developer documentation
List websites
attriboo sites list
Discover the real website IDs, domains, currencies and timezones in your workspace.
Access: OAuth analytics:read or workspace key
Options
| Field | Type | Description |
|---|---|---|
--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. |
List websites as JSON
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 list --jsonExample output
Illustrative stdout
{"workspace":"Example workspace","sites":[{"id":"site_example","domain":"shop.example.com","currency":"USD","name":"Example shop","timezone":"UTC"}]}Output fields
| Field | Type | Description |
|---|---|---|
workspace | string | Workspace name. |
sites | array | Websites available to this connection. |
sites[] fields
| Field | Type | Description |
|---|---|---|
id | string | Website ID. |
domain | string | Domain. |
name | string | Website name. |
currency | string | Website currency. |
timezone | string | Saved IANA timezone. |
The data follows the list websites API contract. CLI JSON omits the REST envelope.
Behavior and limits
Choose a returned website ID or domain for subsequent reports. A workspace with multiple websites requires explicit site selection.