API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.
v2DeprecatedWorkspaces

List workspaces

List all workspaces managed by this partner.

Returns a paginated list of all workspaces managed by this partner, ordered by creation date descending.

List workspaces

GET/api/v2/partner/workspaces

Query parameters

ParameterTypeDefaultDescription
pageinteger1Page number. Must be greater than or equal to 1.
page_sizeinteger25Number of items per page. Must be between 1 and 100.

Example request

curl "https://api.getsillage.com/api/v2/partner/workspaces?page=1&page_size=25" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Example response

{
  "data": [
    {
      "id": 101,
      "name": "Acme Workspace",
      "domain": "acme.com",
      "is_archived": false,
      "partner_workspace_id": "ws_123"
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "total": 1
    }
  }
}

Response fields

FieldTypeDescription
idintegerIdentifier for the workspace.
namestringDisplay name of the workspace.
domainstring or nullPrimary domain of the end customer, or null if not set.
is_archivedbooleanWhether this workspace has been archived.
partner_workspace_idstringYour partner-side identifier, echoed back where applicable.

Errors

StatusMeaning
401The master key is missing or invalid.
403The master key is not authorized to access this resource.
429Too many requests.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.

On this page