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
| Parameter | Type | Default | Description |
|---|---|---|---|
| page | integer | 1 | Page number. Must be greater than or equal to 1. |
| page_size | integer | 25 | Number 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
| Field | Type | Description |
|---|---|---|
| id | integer | Identifier for the workspace. |
| name | string | Display name of the workspace. |
| domain | string or null | Primary domain of the end customer, or null if not set. |
| is_archived | boolean | Whether this workspace has been archived. |
| partner_workspace_id | string | Your partner-side identifier, echoed back where applicable. |
Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 403 | The master key is not authorized to access this resource. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.