Get a list of all 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
}
]
}
JWT Bearer token authentication using the Authorization header
Successful response
The response is of type object
.
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
}
]
}