Skip to main content
POST
/
businesses
/
me
/
switch
Switches the authenticated user's current business context.
curl --request POST \
  --url https://api.leadping.ai/businesses/me/switch \
  --header 'Content-Type: application/json' \
  --data '
{
  "businessId": "<string>"
}
'
{
  "secondaryName": "<string>",
  "user": {},
  "status": {},
  "phone": "<string>",
  "website": "<string>",
  "address": {},
  "vertical": "<string>",
  "description": "<string>",
  "ein": "<string>",
  "einDocument": {},
  "domain": "<string>",
  "phones": [
    {
      "id": "<string>",
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "site": {},
  "setupStep": {},
  "activation": {},
  "compliancePolicy": {},
  "name": "<string>",
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "modifiedAt": "2023-11-07T05:31:56Z"
}

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.

Body

A token to cancel the operation.

Request payload for business switch.

businessId
string

The business ID associated with this business switch.

Response

Returns the business response.

API response containing business data returned to callers.

secondaryName
string | null

The secondary name value for this business.

user
object
status
phone
string | null

The phone number associated with this business.

website
string | null

The website URL associated with this business.

address
object
vertical
string | null

The vertical value for this business.

description
string | null

The human-readable description of this business.

ein
string | null

The EIN value for this business.

einDocument
object
domain
string | null

The domain name associated with this business.

phones
object[] | null

The phones included with this business.

site
object
setupStep
activation
object
compliancePolicy
object
name
string
id
string
createdAt
string<date-time>
modifiedAt
string<date-time> | null