Skip to main content
GET
/
workspace
Get workspace information
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Workspace information retrieved successfully

id
string

Unique workspace identifier

Example:

"ws_01hf8k4x7n9m2p3q5r8s9t0v1w"

name
string

Workspace name

Example:

"Acme Inc"

slug
string

Workspace slug

Example:

"acme-inc"

url
string<uri>

Workspace URL

members
object[]
I