Get the calling workspace
Returns the workspace that owns the Bearer token. Doubles as a credentials smoke test — Stripe-style, no dedicated health endpoint.
Responses
- application/json
- 401
Missing or invalid API key.
Request Example for get/workspace
curl https://api.withbranches.com/workspace \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"slug": "string",
"name": "string"
}