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

# List webhook tasks

> Returns a paginated list of webhook tasks



## OpenAPI

````yaml /api-reference/openapi.json get /webhook/task
openapi: 3.0.3
info:
  title: JobAffinity REST API
  version: '1.12'
  description: >
    JobAffinity REST API for managing jobs, candidates, applications, and
    recruitment processes.


    ## Authentication

    All endpoints require HTTP Basic Authentication.


    ## Versioning

    Current version: 1.12


    See `/restapi/changelog` for version history and changes.
  contact:
    name: JobAffinity API Support
servers:
  - url: https://jobaffinity.fr/restapi/v1
    description: REST API v1
  - url: https://jobaffinity.fr/restapi
    description: REST API root (for changelog)
security:
  - basicAuth: []
tags:
  - name: API Info
    description: API metadata and changelog
  - name: Jobs
    description: Job listings and details
  - name: Candidates
    description: Candidate information
  - name: Applications
    description: Job applications
  - name: Processes
    description: Recruitment processes and steps
  - name: Notes
    description: Candidate notes
  - name: Questionnaires
    description: Questionnaire answers
  - name: Webhooks
    description: Webhook tasks
  - name: Job Application Submission
    description: >-
      Submit candidate applications to a job posting via the apply URL provided
      in the job feed. The authentication token is embedded in the URL — no
      additional credentials are required.
paths:
  /webhook/task:
    get:
      tags:
        - Webhooks
      summary: List webhook tasks
      description: Returns a paginated list of webhook tasks
      operationId: listWebhookTasks
      parameters:
        - $ref: '#/components/parameters/limitParam'
        - $ref: '#/components/parameters/sinceParam'
      responses:
        '200':
          description: Paginated list of webhook tasks
          content:
            application/json:
              schema:
                type: object
                properties:
                  _self:
                    type: string
                    format: uri
                  _schema:
                    type: string
                    format: uri
                  _status:
                    type: string
                    enum:
                      - OK
                      - INVALID
                  _next:
                    type: string
                    format: uri
                    nullable: true
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebhookTask'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
components:
  parameters:
    limitParam:
      name: limit
      in: query
      description: Maximum number of items to return per page
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
    sinceParam:
      name: since
      in: query
      description: Return items created or modified since this ID
      schema:
        type: integer
        minimum: 0
  schemas:
    WebhookTask:
      type: object
      properties:
        _self:
          type: string
          format: uri
        _schema:
          type: string
          format: uri
        _status:
          type: string
          enum:
            - OK
            - INVALID
        id:
          type: integer
          description: Webhook task identifier
        event:
          type: string
          description: Type of event that triggered the webhook (e.g. ProcessStepChange)
        datetime:
          type: string
          format: date-time
          description: Webhook call date and time
        response_body:
          type: string
          description: Response body returned by the webhook endpoint
        response_status:
          type: integer
          description: HTTP status code returned by the webhook endpoint
        application:
          type: object
          properties:
            _self:
              type: string
              format: uri
  responses:
    UnauthorizedError:
      description: Authentication information is missing or invalid
      headers:
        WWW-Authenticate:
          schema:
            type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication with API credentials

````