Organizations

List organization switch options

Changed on

Lists organizations the authenticated user can switch into, including membership role and current-organization selection data.

get/organizations/me/options

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Response

Returns the list of organization switch option.

OrganizationSwitchOption[] required
memberCount, integer

Number of active members in this organization, excluding pending invitations.

timeZoneId, string nullable

Default timezone for organization reporting and display when a user has no personal preference.

isDemo, boolean

Whether this record belongs to demo data.

id, string

Unique Leadping identifier for this organization switch option.

name, string

The human-readable name shown for this organization switch option.

role, 'Account Admin' | 'Owner' | 'Admin' | 'Agent'

Identifies an organization member's access level and permission scope within Leadping.

isCurrent, boolean

Whether this organization switch option is current.

lastUsedAt, string date-time nullable

UTC timestamp for last used at on this organization switch option.

organizationStatus, 'SettingUp' | 'SetupCompleted' | 'Active' nullable

Describes an organization's account lifecycle and whether it can actively use Leadping services.

activationStatus, 'DraftOnboarding' | 'PaymentMethodPending' | 'PaymentMethodConfirmed' | 'SubscriptionPending' | 'SubscriptionReceived' | 'SubscriptionActive' | 'LaunchReviewPending' | 'TelephonyProvisioningPending' | 'TelephonyPartiallyProvisioned' | 'TelephonyReady' | 'AwaitingReview' | 'DomainSelection' | 'WebsiteSetup' | 'ComplianceRegistration' | 'ReadyForApproval' | 'Active' | 'Failed' | 'Blocked' | 'BlockedRequiresOperatorAction' | 'ManuallyBypassed' nullable

Summarizes an organization's overall progress from initial Leadping onboarding through launch readiness.

tenDlcStatus, 'NotStarted' | 'DraftGenerated' | 'DraftIncomplete' | 'ReadyToSubmit' | 'Submitted' | 'PendingTelnyxReview' | 'Approved' | 'Rejected' | 'NeedsChanges' | 'ResubmissionReady' | 'Failed' nullable

Describes an organization's overall 10DLC registration lifecycle across brand and messaging campaign submission.

needsAdminReview, boolean

Whether needs admin review applies to this organization switch option.

activationSummary, string nullable

Activation summary for this organization switch option.

hasPaymentMethod, boolean

Whether the organization has a default billing payment method.

readyForCustomerTraffic, boolean

Whether ready for customer traffic applies to this organization switch option.

Changes

    • warning

      added the new Account Admin enum value to the items/allOf[#/components/schemas/OrganizationSwitchOption]/role/allOf[#/components/schemas/OrganizationMemberRole] response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    1 more change in this revision