Organizations API

Get and update organization details.

Organizations are the top-level tenant in Vizco. All endpoints require JWT authentication.

Get organization

GET/api/organizations/{orgId}JWT

Path parameters

NameTypeDefaultDescription
orgId*UUIDOrganization ID

Response 200

Response
{
"id": "660e8400-e29b-41d4-a716-446655440000",
"name": "My Company",
"slug": "my-company",
"createdAt": "2026-01-15T10:30:00",
"updatedAt": "2026-01-15T10:30:00"
}

Update organization

PUT/api/organizations/{orgId}JWT

Path parameters

NameTypeDefaultDescription
orgId*UUIDOrganization ID

Request body

NameTypeDefaultDescription
name*stringUpdated organization name
Request
{
"name": "My Company Renamed"
}

Response 200

Returns the updated organization object.