API documentation for LegalOn services
LegalOn API (1.3.1)
Languages
Servers
The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1
Request
Retrieves the common workspaces/folders the caller has view permission for as a tree.
Use the returned workspace_id for Contract API operations that target a workspace.
To manage workspaces across the tenant (creation, permissions, etc.), see the admin workspace operations (/spaces).
Security
OAuth2ClientCredentials
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/workspaces
- cURL
- JavaScript
- Python
- Java
- Go
curl -i -X GET \
'https://{api_base_url_without_scheme}/rest/v1/workspaces' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "workspaces": [ { … } ] }