Browse developer documentation
Show the current workspace
attriboo whoami
Show the workspace and websites associated with the active credential.
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. |
Check the current workspace
Replace example websites, dates and cursor values with your own. Running these commands makes real requests or changes the local session.
Terminal command
attriboo whoamiExample 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
Returns workspace and sites, not an account profile or an email address. It uses the same GET /sites operation as sites list.