Skip to main content
GET
/
businesses
/
me
/
options
Gets the businesses the authenticated user can switch into.
curl --request GET \
  --url https://api.leadping.ai/businesses/me/options
[
  {
    "id": "<string>",
    "name": "<string>",
    "isCurrent": true,
    "lastUsedAt": "2023-11-07T05:31:56Z",
    "businessStatus": {},
    "activationStatus": {},
    "needsAdminReview": true,
    "activationSummary": "<string>",
    "readyForCustomerTraffic": true
  }
]

Documentation Index

Fetch the complete documentation index at: https://leadping.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Response

200 - application/json

Returns the list of business switch option.

id
string

The unique ID for this business switch option.

name
string

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

role
enum<string>

Defines the supported Business User Role values.

Available options:
Owner,
Admin,
Agent
isCurrent
boolean

Whether this business switch option is current.

lastUsedAt
string<date-time> | null

The date and time for the last used at value on this business switch option.

businessStatus
activationStatus
needsAdminReview
boolean

Whether needs admin review applies to this business switch option.

activationSummary
string | null

The activation summary value for this business switch option.

readyForCustomerTraffic
boolean

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