API reference

Branding

Read a workspace's display name, color and logo, with the workspace each value comes from.

A workspace holds its own display name, color and logo. What it shows resolves up the tree: its own value, else the nearest workspace above that sets one (client, then MSP, then Master). The display name does not inherit: a workspace with no display name shows its own name.

Retrieve branding#

GET/v1/workspaces/:workspace_id/brandingAPI key + M2M token
workspace_idstringrequired
UUID or slug of the workspace.
Requestbash
curl https://api.scute.io/v1/workspaces/$SCUTE_WORKSPACE_ID/branding \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Authorization: Bearer $SCUTE_M2M_TOKEN"
Response 200json
{  "branding": {    "workspace_id": "0193f8aa-5555-7666-8777-888888888888",    "workspace_name": "Wayne Industries",    "tier": "client",    "own": { "display_name": null, "color": null, "logo_url": null },    "resolved": {      "name": {        "value": "Wayne Industries",        "source": { "tier": "client", "workspace_id": "0193f8aa-5555-7666-8777-888888888888", "workspace_name": "Wayne Industries" },        "inherited": false      },      "color": {        "value": "#5B21B6",        "source": { "tier": "msp", "workspace_id": "0193f8aa-1111-7222-8333-444444444444", "workspace_name": "Acme Telecom" },        "inherited": true      },      "logo": { "value": null, "source": null, "inherited": false }    },    "chain": [      {        "workspace_id": "0193f8aa-5555-7666-8777-888888888888",        "name": "Wayne Industries",        "slug": "wayne-industries",        "tier": "client",        "display_name": null,        "color": null,        "logo_url": null      },      {        "workspace_id": "0193f8aa-1111-7222-8333-444444444444",        "name": "Acme Telecom",        "slug": "example-master-msp-acme-telecom",        "tier": "msp",        "display_name": "Acme Telecom",        "color": "#5B21B6",        "logo_url": null      }    ],    "can_edit": false  }}
FieldMeaning
tiermaster, msp, client or standard
ownThe values set on this workspace. logo_url is the uploaded logo, else the logo URL
resolvedWhat the workspace shows. Each entry has value, source (the workspace it comes from, or null) and inherited
chainThis workspace, then each one above it, nearest first
can_edittrue only for a signed-in owner or admin. Always false for a key and M2M token

Changing branding (PATCH on the same path) needs a signed-in owner or admin and is not available with an M2M token. Client and MSP branding fields can also be set with Clients and MSPs.

StatusWhen
403 workspace_access_deniedThe M2M token's app is not in this workspace
404The workspace does not exist