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

# Add Task To Section



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#ASANA_ADD_TASK_TO_SECTION
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#ASANA_ADD_TASK_TO_SECTION:
    post:
      summary: Add Task To Section
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: ASANA_ADD_TASK_TO_SECTION
                parameters:
                  type: object
                  properties:
                    sectionId:
                      type: string
                      description: Specify the ID of the Asana section to add the task to.
                    taskId:
                      type: string
                      description: >-
                        Task ID : The ID of the task. (example:
                        "1204619611402340")
                    beforeTaskId:
                      type: string
                      description: >-
                        Before Task ID : The ID of a task in this section that
                        this task will be inserted before. Cannot be used with
                        After Task ID. (example: "1204619611402340")
                    afterTaskId:
                      type: string
                      description: >-
                        After Task ID : The ID of a task in this section that
                        this task will be inserted after. Cannot be used with
                        Before Task ID. (example: "1204619611402340")
                  required:
                    - sectionId
                    - taskId
                  x-integration: asana
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````