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

# Get Follow-up Tasks

> Returns all follow-up tasks for the team with pagination

Returns all follow-up tasks for the team with pagination support. Follow-up tasks are created after calls to track pending actions and reminders.

### Query Parameters

* **page** (*optional*, number): Page number for pagination. Default: 1
* **limit** (*optional*, number): Number of items per page. Min: 1, Max: 100
* **sort** (*optional*, string): Sort field(s). Prefix with "-" for descending order. Default: `-createdAt`
  * Example: `follow_up_date,-priority`

### Response

Returns a paginated array of follow-up tasks with the following fields:

* `_id` - Unique identifier
* `team` - Team ID
* `user` - Assigned user
* `call_log` - Associated call log ID
* `contact` - Contact ID
* `company` - Company ID
* `priority` - Task priority: `high`, `medium`, or `low`
* `status` - Task status: `not_overdue`, `overdue`, or `completed`
* `follow_up_date` - Scheduled follow-up date
* `first_name` - Contact's first name
* `last_name` - Contact's last name
* `tags` - Array of tags: `timing`, `budget`, `competitor`
* `touches` - Number of contact attempts
* `context` - Additional context or notes
* `is_archived` - Whether the task is archived
* `createdAt` - Creation timestamp
* `updatedAt` - Last update timestamp


## OpenAPI

````yaml GET /v1/follow-up
openapi: 3.0.1
info:
  title: Salesfinity API
  description: API documentation for Salesfinity platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://client-api.salesfinity.co
security:
  - ApiKeyAuth: []
paths:
  /v1/follow-up:
    get:
      tags:
        - Follow-up Tasks
      description: Returns all follow-up tasks for the team with pagination
      operationId: get-follow-ups
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
          description: Items per page
        - name: sort
          in: query
          required: false
          schema:
            type: string
          description: Sort field(s). Prefix with - for descending
      responses:
        '200':
          description: Follow-up tasks retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FollowUpResponse'
components:
  schemas:
    FollowUpResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/FollowUpTaskDTO'
        total:
          type: integer
        page:
          type: integer
        next:
          type: integer
          nullable: true
    FollowUpTaskDTO:
      type: object
      properties:
        _id:
          type: string
          description: Unique identifier
        team:
          type: string
          description: Team ID
        user:
          $ref: '#/components/schemas/UserDTO'
        call_log:
          type: string
          description: Associated call log ID
        contact:
          type: string
          description: Contact ID
        company:
          type: string
          description: Company ID
        priority:
          type: string
          enum:
            - high
            - medium
            - low
          description: Task priority
        status:
          type: string
          enum:
            - not_overdue
            - overdue
            - completed
          description: Task status
        follow_up_date:
          type: string
          format: date-time
          description: Scheduled follow-up date
        first_name:
          type: string
          description: Contact first name
        last_name:
          type: string
          description: Contact last name
        tags:
          type: array
          items:
            type: string
            enum:
              - timing
              - budget
              - competitor
          description: Task tags
        touches:
          type: integer
          description: Number of contact attempts
        context:
          type: string
          description: Additional context
        is_archived:
          type: boolean
          description: Whether task is archived
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - _id
        - team
        - priority
        - status
        - follow_up_date
    UserDTO:
      type: object
      properties:
        _id:
          type: string
        email:
          type: string
        first_name:
          type: string
        last_name:
          type: string
      required:
        - _id
        - email
        - first_name
        - last_name
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````