Spaces
Workspaces ("spaces") are the top-level container in InfoLobby. Every table and record belongs to a space. An API key can be scoped to specific spaces — see Authentication.
List spaces
GET /api/spaces/list
Returns all spaces the API key has access to.
Request
curl https://infolobby.com/api/spaces/list \
-H "Authorization: Bearer il_live_..."
Response
[
{
"id": 42,
"name": "Sales CRM",
"account_id": 7,
"integration_id": 12
},
{
"id": 43,
"name": "Operations",
"account_id": 7,
"integration_id": 12
}
]
Get a single space
GET /api/space/<space_id>/get
Example
curl https://infolobby.com/api/space/42/get \
-H "Authorization: Bearer il_live_..."
Errors
| Status | When |
|---|---|
| 403 | Key is not whitelisted for the requested space |
| 500 | Space does not exist or is not owned by the account |