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

# List tasks

> Lists account tasks. Account administrators and custom roles with `task_view_all` can read all
account tasks. Standard agents and custom roles with `task_manage` only receive tasks assigned to them or created by
them. Users with `task_reports_view` can read all tasks for report drilldowns. The Tasks feature and its account
integration must both be enabled.

`overdue` is a computed display status for pending or in-progress tasks whose deadline has passed. The `pending` and
`in_progress` filters return only work that is not overdue; use `overdue` for expired work. The date range is applied
only when both `starts_at` and `ends_at` are supplied. Report drilldowns may instead filter the effective scheduled
date (`ends_at`, falling back to `starts_at`) with `scheduled_from` and `scheduled_to` Unix timestamps. Use
`overlaps_from` and `overlaps_to` to return tasks whose time interval intersects a calendar range. Pagination is
opt-in: responses include `meta` only when `page` or `per_page` is supplied.




## OpenAPI

````yaml /openapi/application.json get /api/v1/accounts/{account_id}/account_tasks
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/account_tasks:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Tasks
      summary: List tasks
      description: >
        Lists account tasks. Account administrators and custom roles with
        `task_view_all` can read all

        account tasks. Standard agents and custom roles with `task_manage` only
        receive tasks assigned to them or created by

        them. Users with `task_reports_view` can read all tasks for report
        drilldowns. The Tasks feature and its account

        integration must both be enabled.


        `overdue` is a computed display status for pending or in-progress tasks
        whose deadline has passed. The `pending` and

        `in_progress` filters return only work that is not overdue; use
        `overdue` for expired work. The date range is applied

        only when both `starts_at` and `ends_at` are supplied. Report drilldowns
        may instead filter the effective scheduled

        date (`ends_at`, falling back to `starts_at`) with `scheduled_from` and
        `scheduled_to` Unix timestamps. Use

        `overlaps_from` and `overlaps_to` to return tasks whose time interval
        intersects a calendar range. Pagination is

        opt-in: responses include `meta` only when `page` or `per_page` is
        supplied.
      operationId: list-account-tasks
      parameters:
        - name: starts_at
          in: query
          required: false
          description: >-
            Inclusive range start in ISO 8601 format. Must be supplied with
            ends_at.
          schema:
            type: string
            format: date-time
          example: '2026-07-01T00:00:00Z'
        - name: ends_at
          in: query
          required: false
          description: >-
            Inclusive range end in ISO 8601 format. Must be supplied with
            starts_at.
          schema:
            type: string
            format: date-time
          example: '2026-07-31T23:59:59Z'
        - name: overlaps_from
          in: query
          required: false
          description: >-
            Inclusive ISO 8601 calendar range start. Must be supplied with
            overlaps_to.
          schema:
            type: string
            format: date-time
          example: sample
        - name: overlaps_to
          in: query
          required: false
          description: >-
            Inclusive ISO 8601 calendar range end. Returns tasks whose effective
            interval intersects this range.
          schema:
            type: string
            format: date-time
          example: sample
        - name: status
          in: query
          required: false
          description: >-
            Filter by a persisted status, all open tasks, or computed overdue
            tasks.
          schema:
            type: string
            enum:
              - open
              - overdue
              - pending
              - in_progress
              - completed
              - cancelled
          example: open
        - name: scheduled_from
          in: query
          required: false
          description: >-
            Inclusive effective scheduled-date start as a Unix timestamp. Must
            be supplied with scheduled_to.
          schema:
            type: integer
          example: 1
        - name: scheduled_date
          in: query
          required: false
          description: >-
            Effective scheduled date in the account reporting timezone. Used by
            daily report drilldowns.
          schema:
            type: string
            format: date
          example: sample
        - name: scheduled_to
          in: query
          required: false
          description: >-
            Inclusive effective scheduled-date end as a Unix timestamp. Must be
            supplied with scheduled_from.
          schema:
            type: integer
          example: 1
        - name: activity_type_id
          in: query
          required: false
          schema:
            type: integer
          example: 7
        - name: assignee_id
          in: query
          required: false
          description: >-
            Responsible user ID, or `unassigned` for tasks without a responsible
            user.
          schema:
            oneOf:
              - type: integer
              - type: string
                enum:
                  - unassigned
          example: 15
        - name: contact_id
          in: query
          required: false
          schema:
            type: integer
          example: 123
        - name: kanban_item_id
          in: query
          required: false
          schema:
            type: integer
          example: 12
        - name: q
          in: query
          required: false
          description: Case-insensitive partial title search.
          schema:
            type: string
          example: sample
        - name: sort_by
          in: query
          required: false
          description: Server-side sort field. Defaults to starts_at.
          schema:
            type: string
            enum:
              - starts_at
              - due_at
              - title
              - priority
              - status
              - assignee
              - ends_at
              - created_at
          example: due_at
        - name: sort_order
          in: query
          required: false
          description: Sort direction. Defaults to asc.
          schema:
            type: string
            enum:
              - asc
              - desc
          example: desc
        - name: page
          in: query
          required: false
          description: Enables pagination. Defaults to 1 when supplied with per_page.
          schema:
            type: integer
            minimum: 1
          example: 1
        - name: per_page
          in: query
          required: false
          description: Enables pagination. Defaults to 25 and is capped at 100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
          example: 1
      responses:
        '200':
          description: Tasks matching the supplied filters.
          content:
            application/json:
              schema:
                type: object
                required:
                  - payload
                properties:
                  payload:
                    type: array
                    items:
                      $ref: '#/components/schemas/account_task'
                  meta:
                    type: object
                    description: Present only when pagination is requested.
                    required:
                      - current_page
                      - per_page
                      - total_pages
                      - total_count
                    properties:
                      current_page:
                        type: integer
                      per_page:
                        type: integer
                      total_pages:
                        type: integer
                      total_count:
                        type: integer
              example:
                payload:
                  - id: 42
                    title: Follow up with customer
                    starts_at: '2026-07-21T13:00:00Z'
                    status: pending
                    persisted_status: pending
                    priority: normal
                    recurrence:
                      type: weekly
                      interval: 1
                      days:
                        - 1
                        - 3
                        - 5
                      end_type: after_occurrences
                      end_date: '2026-05-20'
                      max_occurrences: 10
                      parent_id: 1
                      sequence: 0
                      recurring: true
                    activity_type:
                      id: 7
                      name: Follow-up call
                      color: '12'
                      active: true
                    participants:
                      - id: 15
                        name: John Agent
                        email: john@example.com
                    guest_emails:
                      - customer@example.com
                    google:
                      sync_enabled: true
                      calendar_id: primary
                      event_id: 321
                      external_html_link: https://calendar.google.com/calendar/event?eid=example
                      sync_status: synced
                      last_error: Sample text
                    description: Review the proposal and confirm the next steps.
                meta:
                  current_page: 1
                  per_page: 1
                  total_pages: 1
                  total_count: 1
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '403':
          description: Tasks are disabled for the account or the user lacks task access.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Forbidden
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    account_task:
      type: object
      required:
        - id
        - title
        - starts_at
        - status
        - persisted_status
        - priority
        - recurrence
        - activity_type
        - participants
        - guest_emails
        - google
      properties:
        id:
          type: integer
          description: Unique task identifier.
          example: 42
        title:
          type: string
          description: Short task title.
          example: Follow up with customer
        description:
          type:
            - string
            - 'null'
          description: Detailed task instructions or context.
          example: Review the proposal and confirm the next steps.
        outcome_summary:
          type:
            - string
            - 'null'
          maxLength: 2000
          description: Required result summary when the task is completed or cancelled.
          example: Customer approved the proposal and requested onboarding.
        starts_at:
          type: string
          format: date-time
          description: Task start in ISO 8601 format.
          example: '2026-07-21T13:00:00Z'
        ends_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Optional deadline in ISO 8601 format. It must not precede starts_at.
          example: '2026-07-21T14:00:00Z'
        status:
          type: string
          enum:
            - pending
            - in_progress
            - overdue
            - completed
            - cancelled
          description: >-
            Display status. Open tasks past their deadline are returned as
            overdue.
          example: pending
        persisted_status:
          type: string
          enum:
            - pending
            - in_progress
            - completed
            - cancelled
          description: >-
            Status stored for the task. Overdue is computed and is never
            persisted.
          example: pending
        priority:
          type: string
          enum:
            - low
            - normal
            - high
            - urgent
          example: normal
        flow_builder_flow_id:
          type:
            - integer
            - 'null'
          readOnly: true
          description: >-
            Flow Builder flow whose Create task block created the task, so an
            Update task block of a later run finds it. Null for tasks made
            anywhere else, or when that flow was deleted.
          example: null
        recurrence:
          type: object
          required:
            - type
            - interval
            - days
            - end_type
            - end_date
            - max_occurrences
            - parent_id
            - sequence
            - recurring
          properties:
            type:
              type: string
              enum:
                - none
                - daily
                - weekly
                - monthly
                - yearly
              example: weekly
            interval:
              type: integer
              minimum: 1
              maximum: 99
              example: 1
            days:
              type: array
              description: >-
                Weekdays for weekly recurrence, where 0 is Sunday and 6 is
                Saturday.
              items:
                type: integer
                minimum: 0
                maximum: 6
              example:
                - 1
                - 3
                - 5
            end_type:
              type:
                - string
                - 'null'
              enum:
                - on_date
                - after_occurrences
                - null
              example: after_occurrences
            end_date:
              type:
                - string
                - 'null'
              format: date
              example: null
            max_occurrences:
              type:
                - integer
                - 'null'
              minimum: 1
              maximum: 100
              example: 10
            parent_id:
              type:
                - integer
                - 'null'
              description: Parent task identifier for a generated recurrence occurrence.
              example: null
            sequence:
              type: integer
              description: Occurrence position within the recurrence series.
              example: 0
            recurring:
              type: boolean
              description: Whether this task is the parent of a recurring series.
              example: true
        activity_type:
          $ref: '#/components/schemas/activity_type'
        assignee:
          oneOf:
            - $ref: '#/components/schemas/account_task_user'
            - type: 'null'
        created_by:
          $ref: '#/components/schemas/account_task_user'
        participants:
          type: array
          description: >-
            Internal participants. The user creating or updating the task is
            included automatically.
          items:
            $ref: '#/components/schemas/account_task_user'
        guest_emails:
          type: array
          description: >-
            External guest email addresses used when synchronizing with Google
            Calendar.
          items:
            type: string
            format: email
          example:
            - customer@example.com
        contact:
          oneOf:
            - $ref: '#/components/schemas/account_task_contact'
            - type: 'null'
        conversation:
          oneOf:
            - $ref: '#/components/schemas/account_task_conversation'
            - type: 'null'
        kanban:
          oneOf:
            - $ref: '#/components/schemas/account_task_kanban'
            - type: 'null'
        google:
          $ref: '#/components/schemas/account_task_google'
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    activity_type:
      type: object
      required:
        - id
        - name
        - color
        - active
      properties:
        id:
          type: integer
          description: Unique task type identifier.
          example: 7
        name:
          type: string
          description: Display name of the task type.
          example: Follow-up call
        color:
          type: string
          enum:
            - '1'
            - '2'
            - '3'
            - '4'
            - '5'
            - '6'
            - '7'
            - '8'
            - '9'
            - '10'
            - '11'
            - '12'
            - '13'
            - '14'
            - '15'
            - '16'
            - '17'
            - '18'
            - '19'
            - '20'
            - '21'
            - '22'
          description: >-
            Google Calendar palette color identifier used to identify tasks of
            this type.
          example: '12'
        active:
          type: boolean
          description: Whether the task type is available when creating tasks.
          example: true
    account_task_user:
      type: object
      required:
        - id
        - name
        - email
      properties:
        id:
          type: integer
          example: 15
        name:
          type: string
          example: John Agent
        email:
          type: string
          format: email
          example: john@example.com
    account_task_contact:
      type: object
      required:
        - id
      properties:
        id:
          type: integer
          example: 123
        name:
          type:
            - string
            - 'null'
          example: María González
        email:
          type:
            - string
            - 'null'
          format: email
          example: maria@example.com
        phone_number:
          type:
            - string
            - 'null'
          example: '+595981234567'
    account_task_conversation:
      type: object
      required:
        - id
        - display_id
      properties:
        id:
          type: integer
          example: 567
        display_id:
          type: integer
          description: >-
            Account-visible conversation number used when creating or updating a
            task.
          example: 81
        contact:
          oneOf:
            - $ref: '#/components/schemas/account_task_contact'
            - type: 'null'
        inbox:
          oneOf:
            - $ref: '#/components/schemas/account_task_inbox'
            - type: 'null'
    account_task_kanban:
      type: object
      required:
        - id
        - funnel_id
        - funnel_name
        - stage
        - managed_by_activity
      properties:
        id:
          type: integer
          example: 12
        funnel_id:
          type: integer
          example: 3
        funnel_name:
          type:
            - string
            - 'null'
          example: Sales Pipeline
        stage:
          type: string
          example: qualified
        title:
          type:
            - string
            - 'null'
          example: Follow up with customer
        managed_by_activity:
          type: boolean
          description: >-
            True when the Kanban item was created and is maintained by this
            task.
          example: true
    account_task_google:
      type: object
      required:
        - sync_enabled
        - calendar_id
        - event_id
        - external_html_link
        - sync_status
        - last_error
      properties:
        sync_enabled:
          type: boolean
          example: true
        calendar_id:
          type:
            - string
            - 'null'
          example: primary
        event_id:
          type:
            - integer
            - 'null'
          description: Internal calendar event identifier.
          example: 321
        external_html_link:
          type:
            - string
            - 'null'
          format: uri
          example: https://calendar.google.com/calendar/event?eid=example
        sync_status:
          type:
            - string
            - 'null'
          description: Latest external calendar synchronization status.
          example: synced
        last_error:
          type:
            - string
            - 'null'
          description: Last Google Calendar synchronization error, if any.
          example: null
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
    account_task_inbox:
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: integer
          example: 5
        name:
          type: string
          example: WhatsApp Support
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.