curl -X GET "https://api.whatabot.app/api/v1/workspaces?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "workspace-uuid",
"name": "My Workspace",
"createdAt": "2025-01-15T10:00:00.000Z"
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}
Espaços de Trabalho
Listar Espaços de Trabalho
Liste todos os espaços de trabalho da conta.
GET
/
v1
/
workspaces
curl -X GET "https://api.whatabot.app/api/v1/workspaces?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "workspace-uuid",
"name": "My Workspace",
"createdAt": "2025-01-15T10:00:00.000Z"
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}
Liste todos os espaços de trabalho com paginação.
curl -X GET "https://api.whatabot.app/api/v1/workspaces?page=0&size=10" \
-H "X-Api-Key: wh_your_api_key"
{
"content": [
{
"id": "workspace-uuid",
"name": "My Workspace",
"createdAt": "2025-01-15T10:00:00.000Z"
}
],
"totalElements": 1,
"totalPages": 1,
"number": 0,
"size": 10,
"first": true,
"last": true
}