Skip to main content
Retrieves all active and non-deleted company records from the database. Supports field selection, dynamic filtering, relation population, and pagination via query parameters.

Endpoint

Authentication

This endpoint requires authentication. Include a valid bearer token in the Authorization header. Permission Required: company:find-all

Query Parameters

Response

Success Response (200 OK)

Returns an array of company records or a paginated result if page parameter is provided.

Paginated Response (200 OK)

When page parameter is provided:

Error Responses

400 Bad Request - Invalid filter or orderBy format
401 Unauthorized - Missing or invalid authentication token 403 Forbidden - Insufficient permissions

Examples

Basic Request

With Filters

With Pagination

With Field Selection