GET
/api/public/v1/businesses/{businessId}Get a business
Retrieve a single business by ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
businessId | string | Required | Business ID. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/businesses/{businessId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Business retrieved successfully!",
"content": {
"business": {
"id": "biz_abc123",
"displayName": "Acme Corp",
"type": "SERVICES"
}
}
}