Ask
Select
Open
Close
Endpoints
Workspace
In Vrite, each workspace has details like name or logo URL associated directly with them, for easier identification. You can change them in the workspace settings panel.
Retrieve Workspace Details
Retrieves details of the workspace associated with the token.
GET
/workspace
Response object
idstring
ID of the workspace
namestring
Name of the workspace
logostring
URL of the workspace logo
descriptionstring
Description of the workspace
Request
curl --request GET \
--url "https://api.vrite.io/workspace" \
--header 'Authorization: Bearer <TOKEN>' \
--header 'Accept: application/json'
const client = createClient({
token: "<API_TOKEN>"
});
const result = await client.workspace.get();
Response
{
"id": "db8f177949c42b24896d4db4",
"name": "string",
"logo": "string",
"description": "string"
}