POST /getCompanyById
- Auth: header
x-api-key: <API_KEY> - Body:
{ businessId: string }(required) - Behavior: reads
businesses/{businessId}and returns the document. - Responses:
- 200:
{ id, data } - 400/403/404/500 as appropriate
- 200:
Source: apps/functions/getCompanyById.js.