Skip to main content
PATCH
/
{team_id}
/
time
/
tracking
/
config
Update workspace rate config
curl --request PATCH \
  --url https://api.superthread.com/v1/{team_id}/time/tracking/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "default_rate_cents": 123,
  "billable_by_default": true,
  "privacy_setting": "visible_to_admins"
}
'
{
  "rate_config": {
    "team_id": "tDsu0j19",
    "default_rate_cents": 10000,
    "billable_by_default": true,
    "privacy_setting": "visible_to_admins"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".

Body

application/json
default_rate_cents
integer | null
billable_by_default
boolean | null
privacy_setting
enum<string>

Controls who can see other users' time data within the workspace.

  • hidden: only the entry's author can see their own entries; no aggregates exposed.
  • aggregates_only: members see aggregated totals across all users, but not individual entries.
  • visible_to_admins: non-admins only see their own entries; admins see everyone's entries and aggregates.
  • visible: every member sees both aggregates and individual entries.
Available options:
hidden,
aggregates_only,
visible_to_admins,
visible
Example:

"visible_to_admins"

Response

Updated workspace rate config

rate_config
object