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
Response Fields
The response includes: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"