List Spaces
Returns a list of all spaces.
Returns a list of all spaces.
Code:
await seam.spaces.list();Output:
[
{
"created_at": "2025-06-16T16:54:17.946600Z",
"display_name": "My Space",
"name": "My Space",
"space_id": "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id": "96bd12f9-6def-4bf4-b517-760417451ae9"
}
]Returns a list of all spaces.
Code:
curl --include --request POST "https://connect.getseam.com/spaces/list" \
--header "Authorization: Bearer $SEAM_API_KEY"Output:
{
"spaces": [
{
"created_at": "2025-06-16T16:54:17.946600Z",
"display_name": "My Space",
"name": "My Space",
"space_id": "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id": "96bd12f9-6def-4bf4-b517-760417451ae9"
}
]
}Returns a list of all spaces.
Code:
seam.spaces.list()Output:
[
Space(
created_at="2025-06-16T16:54:17.946600Z",
display_name="My Space",
name="My Space",
space_id="5afeb047-3277-4102-b8c4-99edf05b91d2",
workspace_id="96bd12f9-6def-4bf4-b517-760417451ae9",
)
]Returns a list of all spaces.
Code:
seam.spaces.list()Output:
[
{
"created_at" => "2025-06-16T16:54:17.946600Z",
"display_name" => "My Space",
"name" => "My Space",
"space_id" => "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id" => "96bd12f9-6def-4bf4-b517-760417451ae9",
},
]Returns a list of all spaces.
Code:
$seam->spaces->list();Output:
[
[
"created_at" => "2025-06-16T16:54:17.946600Z",
"display_name" => "My Space",
"name" => "My Space",
"space_id" => "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id" => "96bd12f9-6def-4bf4-b517-760417451ae9",
],
];Returns a list of all spaces.
Code:
seam spaces listOutput:
[
{
"created_at": "2025-06-16T16:54:17.946600Z",
"display_name": "My Space",
"name": "My Space",
"space_id": "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id": "96bd12f9-6def-4bf4-b517-760417451ae9"
}
]Request Parameters
customer_key String
Customer key for which you want to list spaces.
search String
String for which to search. Filters returned spaces to include all records that satisfy a partial match using name.
space_key String
Filter spaces by space_key.
Response
Array of spaces
{
"created_at": "2025-06-16T16:54:17.946600Z",
"display_name": "My Space",
"name": "My Space",
"space_id": "5afeb047-3277-4102-b8c4-99edf05b91d2",
"workspace_id": "96bd12f9-6def-4bf4-b517-760417451ae9"
}Last updated
Was this helpful?

