cURL
curl --request GET \ --url https://api.onset.io/v1/workspace \ --header 'Authorization: Bearer <token>'
{ "id": "ws_01hf8k4x7n9m2p3q5r8s9t0v1w", "name": "Acme Inc", "slug": "acme-inc", "url": "<string>", "members": [ { "id": "<string>", "name": "<string>" } ] }
Retrieve information about the current authenticated workspace, including ID, name, and URL slug
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace information retrieved successfully
Unique workspace identifier
"ws_01hf8k4x7n9m2p3q5r8s9t0v1w"
Workspace name
"Acme Inc"
Workspace slug
"acme-inc"
Workspace URL
Show child attributes
Contributor ID
Contributor name
Was this page helpful?