GET
/
organizations
List Organizations
curl --request GET \
  --url https://api.wacht.dev/organizations \
  --header 'Authorization: Bearer <token>'
{
  "total": 100,
  "page": 1,
  "per_page": 20,
  "total_pages": 5,
  "data": [
    {
      "id": "<string>",
      "name": "Acme Corporation",
      "display_name": "Acme Corp",
      "slug": "acme-corp",
      "description": "<string>",
      "logo_url": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "member_count": 25,
      "workspace_count": 5
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Query Parameters

page
integer
default:1
per_page
integer
default:20

Response

Successful response

The response is of type object.