Recover all business.
GET/api/v2/admin/business
Bring information from all businesses with their respective instances and connected numbers.
Request
Responses
- 200
- 400
- 401
- 500
BusinessFindResponse
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
businessId stringrequired
name stringrequired
businessToken stringrequired
attributes objectrequired
createdAt date-timerequired
updatedAt date-timerequired
deletedAt date-timerequired
BusinessWebhook object
webhookId stringrequired
url stringrequired
enabled booleanrequired
createdAt date-timerequired
updatedAt date-timerequired
[
  {
    "businessId": "string",
    "name": "string",
    "businessToken": "string",
    "attributes": {},
    "createdAt": "2025-06-12T13:21:07.036Z",
    "updatedAt": "2025-06-12T13:21:07.036Z",
    "deletedAt": "2025-06-12T13:21:07.036Z",
    "BusinessWebhook": {
      "webhookId": "string",
      "url": "string",
      "enabled": true,
      "createdAt": "2025-06-12T13:21:07.037Z",
      "updatedAt": "2025-06-12T13:21:07.037Z"
    }
  }
]
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
InternalServerErrorException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
Loading...