company-profile
Get Company Profiles
Get company profiles the current user has access to in the ACTIVE organization.
RBAC Logic:
- Org owners/admins see ALL profiles in the active organization
- Members see only profiles they have explicit CompanyProfileAccess to
- Only org admins/owners can query archived or deleted profiles or all profiles (no status filter)
Multi-org Support:
- Uses X-Organization-Id header to determine which organization's profiles to return
- Only returns profiles from the active organization
- Validates user has access to the organization via get_active_organization_id dependency
get/api/company-profile/
Request
- Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.usepomo.ai/api/company-profile/
- Auth: HTTP bearer
Query parameters
status'active' | 'archived' | 'deleted'
Lifecycle status for a company profile.
Filter profiles by status (active, archived, deleted). If not specified, returns all profiles. Only org admins can view non-active profiles.
scope'active_org' | 'my_accessible'
Optional scoped list query. 'active_org' returns active profiles in the active organization for admins. 'my_accessible' returns active profiles visible to the current user.
force_refreshboolean
Bypass the shared response cache
Headers
X-Organization-Idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.