Skip to content
RedirHub/API
Sign inGet API key
Workspace · workspace.current
GET/workspace/currentworkspace.current

Get the current workspace

Resolves the workspace the token is scoped to — the tenant every other call operates inside.

Base URL
https://api.redirhub.com/v1
Auth
Bearer token
Idempotent
Yes
Returns
application/json

The request

Call GET /workspace/current with your bearer token.

# Get the current workspace
curl "https://api.redirhub.com/v1/workspace/current" \
  -H "Authorization: Bearer $REDIRHUB_TOKEN"

The response

A 200 returns the record as JSON.

{
  "id": "9f2a7c31-4b8e-4a02-9d1f-0c6b7e5a1d44",
  "name": "Acme",
  "role": "member",
  "headurl": "string",
  "personal": true,
  "country": "string",
  "pm_type": "string",
  "pm_ending": "string",
  "level": 1,
  "email": "teammate@acme.com",
  "billing_extra": "string",
  "created_at": "2026-08-01T09:14:22Z",
  "updated_at": "2026-08-01T09:14:22Z",
  "meta": [
    "string"
  ],
  "summary": [
    {
      "category": "string",
      "used": 1
    }
  ]
}

Status codes

200
SuccessThe workspace the API token is scoped to, with the caller's role and plan usage summary.
401
UnauthenticatedUnauthenticated
429
Too many requestsToo many requests

What usually comes next

One call is rarely the whole job. These are the endpoints most integrations reach for around this one.