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

# List workspace tasks

> Find tasks across contacts by title, status, assignment, and dates.

Search native tasks and calls in the authenticated workgroup without knowing a contact ID.

```http theme={null}
GET /api/openapi/v1/tasks?titleKeyword=review&done=false&limit=25
```

Filters combine. `titleKeyword` matches a literal substring of the title, ignoring case. Omit
`done` to see both open and done tasks. Use `queueId`, `jobId`, `pipelineId`, `stageName`, and
`assigneeId` to narrow the results. `stageName` matches the stored name exactly.

Due-date bounds use `YYYY-MM-DD` and include both endpoints. Creation (`createdAtFrom`/`createdAtTo`) and completion (`completedAtFrom`/`completedAtTo`) bounds use
ISO 8601 timestamps with a timezone; the start is inclusive and the end is exclusive. This lets you
report on consecutive weeks without counting tasks exactly at the boundary twice.

`count` is the number of rows in this page. `total` is the number matching the filters across all
pages. When `nextCursor` is present, pass it as `cursor` with the same filters to fetch the next page.

`completedAt` records the current completion, not the last edit. Reopening clears it. Open tasks,
skipped tasks, and tasks completed before the timestamp was recorded return `null`; completion date
filters only match recorded timestamps.

*Rate limit: 120 requests/minute per endpoint and workgroup. [Details](https://docs.jobin.cloud/development.md#rate-limits).*


## OpenAPI

````yaml openapi/jobin-integration.json GET /tasks
openapi: 3.1.0
info:
  title: Jobin Integration API
  version: 1.0.0
  description: >-
    Work with Jobin contacts and outreach sequences from your recruiting tools
    and AI assistants. See [integration
    guidelines](https://docs.jobin.cloud/development#rate-limits) for rate
    limits and retries.
servers:
  - url: https://my.jobin.cloud/api/openapi/v1
    description: Public OpenAPI base URL. Append each path below to this base URL.
security: []
paths:
  /tasks:
    get:
      summary: List workspace tasks
      description: >-
        Find native tasks and calls across the authenticated workgroup without a
        contact ID. Requires internal workgroup membership. Synced events are
        excluded. Results are sorted by task ID descending.
      parameters:
        - name: titleKeyword
          in: query
          description: Literal case-insensitive substring in the task title.
          schema:
            type: string
            minLength: 1
            maxLength: 256
        - name: done
          in: query
          description: True for done, false for open. Omit for both.
          schema:
            type: boolean
        - name: queueId
          in: query
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        - name: jobId
          in: query
          description: Related JobSpec ID.
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        - name: pipelineId
          in: query
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        - name: stageName
          in: query
          description: Exact stored stage name.
          schema:
            type: string
            minLength: 1
            maxLength: 256
        - name: assigneeId
          in: query
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        - name: dueDateFrom
          in: query
          description: Inclusive lower bound for the local due date.
          schema:
            type: string
            format: date
        - name: dueDateTo
          in: query
          description: Inclusive upper bound for the local due date.
          schema:
            type: string
            format: date
        - name: createdAtFrom
          in: query
          description: Inclusive creation timestamp.
          schema:
            type: string
            format: date-time
        - name: createdAtTo
          in: query
          description: Exclusive creation timestamp.
          schema:
            type: string
            format: date-time
        - name: completedAtFrom
          in: query
          description: Inclusive recorded completion timestamp.
          schema:
            type: string
            format: date-time
        - name: completedAtTo
          in: query
          description: Exclusive recorded completion timestamp.
          schema:
            type: string
            format: date-time
        - name: cursor
          in: query
          description: Use nextCursor from the previous page with the same filters.
          schema:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            default: 25
            maximum: 100
      responses:
        '200':
          description: Workspace task page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceTasksResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimitExceeded'
        '500':
          $ref: '#/components/responses/InternalServerError'
        default:
          $ref: '#/components/responses/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WorkspaceTasksResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceTask'
        count:
          type: integer
          minimum: 0
        limit:
          type: integer
          minimum: 1
          maximum: 100
        total:
          type: integer
          minimum: 0
          description: >-
            Number of tasks matching all supplied filters, before applying the
            cursor.
        nextCursor:
          type:
            - string
            - 'null'
          description: >-
            Pass as cursor with the same filters. Null when there are no more
            results.
      required:
        - items
        - count
        - limit
        - total
        - nextCursor
    WorkspaceTask:
      type: object
      properties:
        taskId:
          type: string
          pattern: ^[a-fA-F0-9]{24}$
        contactId:
          type:
            - string
            - 'null'
          description: >-
            Primary contact, or the first linked contact when no primary contact
            is set.
        contactIds:
          type: array
          items:
            type: string
            pattern: ^[a-fA-F0-9]{24}$
        title:
          type: string
        type:
          type: string
          enum:
            - task
            - call
        done:
          type: boolean
        dueDate:
          type:
            - string
            - 'null'
          format: date
        dueTime:
          type:
            - string
            - 'null'
          pattern: ^([01]\d|2[0-3]):[0-5]\d$
        assigneeId:
          type:
            - string
            - 'null'
        queueId:
          type:
            - string
            - 'null'
        job:
          type:
            - object
            - 'null'
          properties:
            id:
              type: string
              pattern: ^[a-fA-F0-9]{24}$
            title:
              type:
                - string
                - 'null'
          required:
            - id
            - title
        pipelineId:
          type:
            - string
            - 'null'
        stageName:
          type:
            - string
            - 'null'
        subStageName:
          type:
            - string
            - 'null'
        createdAt:
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          type:
            - string
            - 'null'
          format: date-time
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Time of the current recorded completion. Null for open or skipped
            tasks and historical tasks with no recorded completion.
      required:
        - taskId
        - contactId
        - contactIds
        - title
        - type
        - done
        - dueDate
        - dueTime
        - assigneeId
        - queueId
        - job
        - pipelineId
        - stageName
        - subStageName
        - createdAt
        - updatedAt
        - completedAt
    Error:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: string
          description: Stable error code. Input validation uses VALIDATION_ERROR.
        error:
          type: string
          description: >-
            User-facing message. Unknown failures return a generic message
            without internal details.
      example:
        code: UNHANDLED_EXCEPTION
        error: Unexpected error
    RateLimitError:
      type: object
      description: Returned when a public OpenAPI rate limit is exceeded.
      properties:
        statusCode:
          type: integer
          example: 429
        error:
          type: string
          example: Too Many Requests
        message:
          type: string
          description: Human-readable description of the limit that was exceeded.
        retryAfterSeconds:
          type: integer
          description: Seconds to wait before retrying the request.
  responses:
    BadRequest:
      description: Invalid request or expected business-rule failure.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: >-
        Missing or invalid authentication, or missing required authentication
        context.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimitExceeded:
      description: >-
        Rate limit exceeded. Wait for the retry-after header before sending the
        next request.
      headers:
        retry-after:
          description: Seconds to wait before retrying.
          schema:
            type: integer
        x-ratelimit-limit:
          description: Maximum requests allowed in the current window.
          schema:
            type: integer
        x-ratelimit-remaining:
          description: Requests remaining in the current window.
          schema:
            type: integer
        x-ratelimit-reset:
          description: Seconds until the current window resets.
          schema:
            type: integer
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/RateLimitError'
              - $ref: '#/components/schemas/Error'
    InternalServerError:
      description: Unexpected server failure. Internal details are masked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ApiError:
      description: Other client or server failure. Unknown errors expose a generic message.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Primary public authentication method. Create keys in Jobin.cloud under
        Workgroups > Integrations > Custom integration.

````

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