> ## 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 tasks

> Returns a paginated list of workspace tasks.

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



## OpenAPI

````yaml /en/api-reference/openapi.json get /v1/tasks
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/tasks:
    get:
      tags:
        - Tasks
      summary: List tasks
      description: |-
        Returns a paginated list of workspace tasks.

        <Accordion title="Required scope">
        `tasks:read`
        </Accordion>
      operationId: listTasks
      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
              - due_date
              - updated_at
            default: created_at
          description: Field to sort by.
        - name: order
          in: query
          schema:
            type: string
            enum:
              - asc
              - desc
            default: desc
          description: Sort direction.
        - name: person_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filter by person UUID.
        - name: company_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filter by company UUID.
        - name: deal_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filter by deal UUID.
        - name: type_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filter by task type UUID.
        - name: priority
          in: query
          schema:
            type: string
            enum:
              - high
              - medium
              - low
          description: Filter by priority level.
        - name: completed
          in: query
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: Filter by completion status.
        - name: created_after
          in: query
          schema:
            type: string
            format: date-time
          description: Return tasks created on or after this ISO 8601 date.
        - name: created_before
          in: query
          schema:
            type: string
            format: date-time
          description: Return tasks created on or before this ISO 8601 date.
      responses:
        '200':
          description: Tasks returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksListResponse'
              example:
                data:
                  - id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                    title: Follow up with prospect
                    notes: Send the proposal by Friday.
                    due_date: '2026-06-15T09:00:00Z'
                    type:
                      id: b2c3d4e5-f6a7-8901-bcde-f12345678901
                      title: Call
                      color: '#463dfb'
                      key: call
                    person_id: c3d4e5f6-a7b8-9012-cdef-123456789012
                    company_id: null
                    deal_id: null
                    owner:
                      id: d4e5f6a7-b8c9-0123-defa-234567890123
                      name: John Smith
                      email: john@company.com
                    priority: high
                    completed: false
                    created_at: '2026-06-01T10:30:00Z'
                    updated_at: '2026-06-01T10:30:00Z'
                meta:
                  total: 34
                  page: 1
                  per_page: 50
                  has_more: false
        '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:
    TasksListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Task'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Task:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the task.
        title:
          type: string
          maxLength: 200
          example: Follow up with prospect
        notes:
          type: string
          nullable: true
          maxLength: 3000
          description: Optional notes for the task.
          example: Send the proposal by Friday.
        due_date:
          type: string
          format: date-time
          description: ISO 8601 UTC datetime when the task is due.
          example: '2026-06-15T09:00:00Z'
        type:
          $ref: '#/components/schemas/TaskType'
        person_id:
          type: string
          format: uuid
          nullable: true
          description: UUID of the person associated with this task.
        company_id:
          type: string
          format: uuid
          nullable: true
          description: UUID of the company associated with this task.
        deal_id:
          type: string
          format: uuid
          nullable: true
          description: UUID of the deal associated with this task.
        owner:
          $ref: '#/components/schemas/Owner'
        priority:
          type: string
          nullable: true
          enum:
            - high
            - medium
            - low
          description: Priority level. `null` when no priority is set.
          example: high
        completed:
          type: boolean
          description: '`true` when the task has been completed.'
          example: false
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    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
    TaskType:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the task type.
        title:
          type: string
          maxLength: 40
          example: Call
          description: Display name of the task type.
        color:
          type: string
          pattern: ^#[0-9a-fA-F]{6}$
          description: Display color in hex RGB format.
          example: '#463dfb'
        key:
          type: string
          nullable: true
          maxLength: 40
          description: >-
            Identifier key for the task type. Unique within the workspace. Used
            in the `type` field when creating or updating tasks.
          example: call
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    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
  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.

````