> ## Documentation Index
> Fetch the complete documentation index at: https://developers.vendaze.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List companies

> Returns a paginated list of companies in the workspace.

<Accordion title="Required scope">
`companies:read`
</Accordion>



## OpenAPI

````yaml /en/api-reference/openapi.json get /v1/companies
openapi: 3.1.0
info:
  title: OAuth 2.1
  description: Endpoints for registering applications and managing OAuth 2.1 tokens.
  version: 1.0.0
  contact:
    name: Vendaze Support
    email: suporte@vendaze.com
servers:
  - url: https://api.vendaze.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: OAuth
  - name: People
  - name: Companies
  - name: Deals
  - name: Pipelines
  - name: Tasks
  - name: Task Types
  - name: Products
  - name: Tags
  - name: Lists
  - name: Custom Fields
  - name: Webhooks
paths:
  /v1/companies:
    get:
      tags:
        - Companies
      summary: List companies
      description: |-
        Returns a paginated list of companies in the workspace.

        <Accordion title="Required scope">
        `companies:read`
        </Accordion>
      operationId: listCompanies
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number.
        - name: per_page
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 50
            default: 50
          description: 'Number of records per page. Maximum: 50.'
        - name: order_by
          in: query
          schema:
            type: string
            enum:
              - created_at
              - updated_at
              - full_name
            default: created_at
          description: Field to sort by.
        - name: order
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
          description: Sort direction.
        - name: full_name
          in: query
          schema:
            type: string
          description: Filter by company name (case-insensitive contains).
        - name: email
          in: query
          schema:
            type: string
            format: email
          description: >-
            Filter by email address (exact match). Searches across all emails on
            the company.
        - name: created_after
          in: query
          schema:
            type: string
            format: date-time
          description: Return records created on or after this ISO 8601 date.
        - name: created_before
          in: query
          schema:
            type: string
            format: date-time
          description: Return records created on or before this ISO 8601 date.
        - name: updated_after
          in: query
          schema:
            type: string
            format: date-time
          description: Return records updated on or after this ISO 8601 date.
        - name: updated_before
          in: query
          schema:
            type: string
            format: date-time
          description: Return records updated on or before this ISO 8601 date.
      responses:
        '200':
          description: Companies returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompaniesListResponse'
              example:
                data:
                  - id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                    full_name: Acme Corp
                    emails:
                      - email: contact@acme.com
                        type: work
                    phones:
                      - phone: '+551130000000'
                        type: work
                    owner:
                      id: b2c3d4e5-f6a7-8901-bcde-f12345678901
                      email: joao@company.com
                      name: João Silva
                    avatar_url: null
                    entity_id: g7wwkh0
                    created_at: '2026-01-15T10:30:00Z'
                    updated_at: '2026-01-15T10:30:00Z'
                    custom_fields: []
                meta:
                  total: 85
                  page: 1
                  per_page: 50
                  has_more: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/InsufficientScope'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    CompaniesListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/CompanyList'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    CompanyList:
      type: object
      description: Compact company object returned in list responses.
      properties:
        id:
          type: string
          format: uuid
        full_name:
          type: string
          maxLength: 70
          example: Acme Corp
        emails:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/ContactEmail'
        phones:
          type: array
          nullable: true
          items:
            $ref: '#/components/schemas/ContactPhone'
        owner:
          $ref: '#/components/schemas/Owner'
        avatar_url:
          type: string
          format: uri
          nullable: true
        entity_id:
          type: string
          example: g7wwkh0
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        custom_fields:
          type: array
          items:
            $ref: '#/components/schemas/CustomFieldValue'
    PaginationMeta:
      type: object
      properties:
        total:
          type: integer
          example: 1
        page:
          type: integer
          example: 1
        per_page:
          type: integer
          example: 50
        has_more:
          type: boolean
          example: false
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
              format: uuid
    ValidationErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: Validation failed.
            fields:
              type: object
              additionalProperties:
                type: string
            request_id:
              type: string
              format: uuid
    ContactEmail:
      type: object
      required:
        - email
      properties:
        email:
          type: string
          format: email
          example: contact@acme.com
        type:
          type: string
          enum:
            - personal
            - work
            - other
          description: Email type.
          example: work
    ContactPhone:
      type: object
      required:
        - phone
      properties:
        phone:
          type: string
          example: '+551130000000'
        type:
          type: string
          enum:
            - mobile
            - work
            - residential
            - other
          description: Phone type.
          example: work
    Owner:
      type: object
      nullable: true
      description: >-
        Workspace member responsible for this task. `null` when no owner is
        assigned.
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          example: John Smith
        email:
          type: string
          format: email
          example: john@company.com
    CustomFieldValue:
      type: object
      properties:
        id:
          type: string
          format: uuid
        value: {}
        field:
          type: object
          properties:
            id:
              type: string
              format: uuid
            label:
              type: string
            key:
              type: string
            type:
              type: string
  responses:
    Unauthorized:
      description: >-
        Token missing, invalid, or expired. Possible error codes:
        `unauthorized`, `token_expired`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: unauthorized
              message: Missing or invalid Authorization header.
              request_id: 550e8400-e29b-41d4-a716-446655440000
    InsufficientScope:
      description: 'Token lacks the required scope. Error code: `insufficient_scope`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: insufficient_scope
              message: This endpoint requires the 'webhooks:read' scope.
              request_id: 550e8400-e29b-41d4-a716-446655440000
    ValidationError:
      description: >-
        Input validation failed. Error code: `validation_error`. The `fields`
        object maps each invalid field to a description of the problem.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
          example:
            error:
              code: validation_error
              message: Validation failed.
              fields:
                url: url must use HTTPS.
                events: At least one event is required.
              request_id: 550e8400-e29b-41d4-a716-446655440000
    RateLimitExceeded:
      description: 'Rate limit exceeded. Error code: `rate_limit_exceeded`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: rate_limit_exceeded
              message: Rate limit exceeded. Try again in 60 seconds.
              request_id: 550e8400-e29b-41d4-a716-446655440000
    InternalError:
      description: 'Unexpected server error. Error code: `internal_error`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: internal_error
              message: An unexpected error occurred.
              request_id: 550e8400-e29b-41d4-a716-446655440000
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.1 access token.

````