Retrieve a workspace
Retrieve a workspace
- Text
- PHP
- C#
- Java
- Python
- Ruby
- Javascript
- Go
GET https://api-{region}.seatsio.net/workspaces/{key}
$seatsioClient->workspaces->retrieve($key);
await Client.Workspaces.RetrieveAsync(Key);
client.workspaces.retrieve(key);
client.workspaces.retrieve(key)
client.workspaces.retrieve key: key
await client.workspaces.retrieve(key);
workspace, err := client.Workspaces.Retrieve(workspace.Key)
curl https://api-{region}.seatsio.net/workspaces/18725661-36d6-4755-905a-28ce82d0c2d5 \
-u anAdminKey:
{
"id": 169,
"name": "a workspace",
"key": "18725661-36d6-4755-905a-28ce82d0c2d5",
"secretKey": "7c647eed-0880-4118-9459-82757579703e",
"isDefault": true,
"isTest": false,
"isActive": true
}
Error 404 (Not Found) is returned when the workspace does not exist (or the passed in secret key doesn't give access to the workspace).