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

# Get task details

> Returns the complete task, including recurrence, participants, customer context, Kanban link, and Google Calendar
state. Standard agents and custom roles with `task_manage` can read tasks assigned to them or created by them;
administrators and custom roles with `task_view_all` can read any account task.




## OpenAPI

````yaml /openapi/application.json get /api/v1/accounts/{account_id}/account_tasks/{id}
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/{id}:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
      - name: id
        in: path
        required: true
        description: Task identifier.
        schema:
          type: integer
        example: 42
    get:
      tags:
        - Tasks
      summary: Get task details
      description: >
        Returns the complete task, including recurrence, participants, customer
        context, Kanban link, and Google Calendar

        state. Standard agents and custom roles with `task_manage` can read
        tasks assigned to them or created by them;

        administrators and custom roles with `task_view_all` can read any
        account task.
      operationId: get-account-task
      responses:
        '200':
          description: Task details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/account_task'
              example:
                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.
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '403':
          description: Tasks are disabled or the user lacks access.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Forbidden
        '404':
          description: Task not found in the account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
      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.