> ## 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 task types

> Lists all task types for the account, including inactive types, ordered by name.



## OpenAPI

````yaml /openapi/application.json get /api/v1/accounts/{account_id}/activity_types
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}/activity_types:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Task Types
      summary: List task types
      description: >-
        Lists all task types for the account, including inactive types, ordered
        by name.
      operationId: list-task-types
      responses:
        '200':
          description: Account task types.
          content:
            application/json:
              schema:
                type: object
                required:
                  - payload
                properties:
                  payload:
                    type: array
                    items:
                      $ref: '#/components/schemas/activity_type'
              example:
                payload:
                  - id: 7
                    name: Follow-up call
                    color: '12'
                    active: true
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '403':
          description: Tasks are disabled or the user is not an account member.
          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:
    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
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  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.