Get organization by ID
Organizations
Get Organization
Retrieves organization details with normalized structure. User must be a member (owner, admin, or member) to access.
GET
Get organization by ID
Retrieves organization details by ID.
Authentication
This endpoint requires authentication via Bearer token:- Authorization:
Bearer <token>
Permissions
User must be a member of the organization (owner, admin, or member role).Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Organization UUID |
Response Fields
The response includes:| Field | Type | Description |
|---|---|---|
id | string | Organization UUID |
name | string | Organization name |
slug | string | URL-friendly identifier |
logo | string | Logo URL (if set) |
plan | string | Subscription plan (free, pro, enterprise) |
ownerId | string | Owner user UUID |
stripeCustomerId | string | Stripe customer ID (if exists) |
subscriptionStatus | string | Current subscription status |
createdAt | string | ISO 8601 timestamp |
updatedAt | string | ISO 8601 timestamp |
Example Request
Example Response
Common Errors
404 Not Found
The organization with the specified ID does not exist.403 Forbidden
User is not a member of the organization.Use Cases
- Display organization details in dashboard
- Verify organization membership before allowing access
- Show organization settings to users
- Check subscription status and plan
- Display organization branding (logo, name)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Organization retrieved successfully with details.
Example:
"5a2a307be93a2f00129ea035"
Example:
"mi-empresa"
Example:
"America/Mexico_City"
Example:
"2017-05-05T20:55:33.468Z"
Example:
"2017-05-05T20:55:33.468Z"
Example:
true
Example:
"https://storage.example.com/organization/logo.jpg"