Skip to content

Workspaces

Endpoint for fetching information about the authenticated workspace. It can be used to test if the API authentication works.

Get current workspace

Request

Security
APIKey
Headers
Acceptstringrequired

Specify the response format.

Value:"application/json"
curl -i -X GET \
  https://api.builder.docue.com/api/workspaces/current \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Successful response.

Bodyapplication/json
dataobject(Api.Workspace.Data.WorkspaceData.WorkspaceData)
Response
{ "data": { "id": "7f3f5f62-2c69-7d4e-8a3d-9c0f0e2c5f3a", "name": "Acme Inc." } }