List Workspaces
Returns a list of workspaces associated with the authentication value.
Returns a list of workspaces associated with the authentication value.
Code:
await seam.workspaces.list();Output:
[
{
"company_name": "Acme",
"connect_partner_name": "Acme",
"connect_webview_customization": {
"inviter_logo_url": "https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape": "circle",
"primary_button_color": "#232426",
"primary_button_text_color": "#FFFDE7",
"success_message": "Your account has been successfully connected to Acme!"
},
"is_sandbox": true,
"is_suspended": false,
"is_publishable_key_auth_enabled": true,
"publishable_key": "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name": "My Sandbox Workspace",
"workspace_id": "6a0b6282-6a98-4fef-811e-0904c485ac7a"
}
]Returns a list of workspaces associated with the authentication value.
Code:
curl --include --request POST "https://connect.getseam.com/workspaces/list" \
--header "Authorization: Bearer $SEAM_API_KEY"Output:
{
"workspaces": [
{
"company_name": "Acme",
"connect_partner_name": "Acme",
"connect_webview_customization": {
"inviter_logo_url": "https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape": "circle",
"primary_button_color": "#232426",
"primary_button_text_color": "#FFFDE7",
"success_message": "Your account has been successfully connected to Acme!"
},
"is_sandbox": true,
"is_suspended": false,
"is_publishable_key_auth_enabled": true,
"publishable_key": "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name": "My Sandbox Workspace",
"workspace_id": "6a0b6282-6a98-4fef-811e-0904c485ac7a"
}
]
}Returns a list of workspaces associated with the authentication value.
Code:
seam.workspaces.list()Output:
[
Workspace(
company_name="Acme",
connect_partner_name="Acme",
connect_webview_customization={
"inviter_logo_url": "https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape": "circle",
"primary_button_color": "#232426",
"primary_button_text_color": "#FFFDE7",
"success_message": "Your account has been successfully connected to Acme!",
},
is_sandbox=true,
is_suspended=false,
is_publishable_key_auth_enabled=true,
publishable_key="seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
name="My Sandbox Workspace",
workspace_id="6a0b6282-6a98-4fef-811e-0904c485ac7a",
)
]Returns a list of workspaces associated with the authentication value.
Code:
seam.workspaces.list()Output:
[
{
"company_name" => "Acme",
"connect_partner_name" => "Acme",
"connect_webview_customization" => {
inviter_logo_url:
"https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
logo_shape: "circle",
primary_button_color: "#232426",
primary_button_text_color: "#FFFDE7",
success_message: "Your account has been successfully connected to Acme!",
},
"is_sandbox" => true,
"is_suspended" => false,
"is_publishable_key_auth_enabled" => true,
"publishable_key" => "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name" => "My Sandbox Workspace",
"workspace_id" => "6a0b6282-6a98-4fef-811e-0904c485ac7a",
},
]Returns a list of workspaces associated with the authentication value.
Code:
$seam->workspaces->list();Output:
[
[
"company_name" => "Acme",
"connect_partner_name" => "Acme",
"connect_webview_customization" => [
"inviter_logo_url" =>
"https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape" => "circle",
"primary_button_color" => "#232426",
"primary_button_text_color" => "#FFFDE7",
"success_message" =>
"Your account has been successfully connected to Acme!",
],
"is_sandbox" => true,
"is_suspended" => false,
"is_publishable_key_auth_enabled" => true,
"publishable_key" => "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name" => "My Sandbox Workspace",
"workspace_id" => "6a0b6282-6a98-4fef-811e-0904c485ac7a",
],
];Returns a list of workspaces associated with the authentication value.
Code:
seam workspaces listOutput:
[
{
"company_name": "Acme",
"connect_partner_name": "Acme",
"connect_webview_customization": {
"inviter_logo_url": "https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape": "circle",
"primary_button_color": "#232426",
"primary_button_text_color": "#FFFDE7",
"success_message": "Your account has been successfully connected to Acme!"
},
"is_sandbox": true,
"is_suspended": false,
"is_publishable_key_auth_enabled": true,
"publishable_key": "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name": "My Sandbox Workspace",
"workspace_id": "6a0b6282-6a98-4fef-811e-0904c485ac7a"
}
]Request Parameters
None
Response
Array of workspaces
{
"company_name": "Acme",
"connect_partner_name": "Acme",
"connect_webview_customization": {
"inviter_logo_url": "https://connect.getseam.com/internal/images/view?image_id=1de135fa-f0c2-4e57-90d0-6b9a7d090a0c",
"logo_shape": "circle",
"primary_button_color": "#232426",
"primary_button_text_color": "#FFFDE7",
"success_message": "Your account has been successfully connected to Acme!"
},
"is_sandbox": false,
"is_suspended": false,
"is_publishable_key_auth_enabled": true,
"publishable_key": "seam_pk1fGd41X_zKs0ZELRTEc8nWxiBsEXAMPLE",
"name": "My Production Workspace",
"workspace_id": "6a0b6282-6a98-4fef-811e-0904c485ac7a"
}Last updated
Was this helpful?

