Docs
Workspaces

Get current workspace

Returns the organization associated with the current API key.

GET
/v1/organizations/me

Authorization

BearerAuth
AuthorizationBearer <token>

API key (csk_live_…)

In: header

Response Body

application/json

application/json

curl -X GET "https://api.cospec.io/v1/organizations/me"
{
  "id": "string",
  "name": "string",
  "slug": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}