Skip to developer documentation
Browse developer documentation
CLI documentation / Websites

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

attriboo sites list options
FieldTypeDescription
--jsonbooleanCompact JSON instead of formatted JSON.
--csvbooleanCSV 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 --json

Example output

Illustrative stdout
{"workspace":"Example workspace","sites":[{"id":"site_example","domain":"shop.example.com","currency":"USD","name":"Example shop","timezone":"UTC"}]}

Output fields

attriboo sites list output fields
FieldTypeDescription
workspacestringWorkspace name.
sitesarrayWebsites available to this connection.

sites[] fields

sites nested fields
FieldTypeDescription
idstringWebsite ID.
domainstringDomain.
namestringWebsite name.
currencystringWebsite currency.
timezonestringSaved 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.